Sitemap

Amicuk Programming Answers

Problem with httpservice.length

2015-10-11   Views:0

Advertisement

Hi, I have written a httpservice which will return a dataset to me, now i am trying to loop that http service i have written the below code <mx:httpservice id="something" url="........default.aspx" /> var i:int = 0 for (i = 0; i&

Hi,
I have written a httpservice which will return a dataset to
me, now i am trying to loop that http service i have written the
below code
<mx:httpservice id="something" url="........default.aspx"
/>
var i:int = 0
for (i = 0;
i<something.lastresult.newdataset.table.length; i++)
if there is only one record in the httpservice then it is
giving me the result as null and if there are 2 records if is
displaying only 1 row
can anybody find me a solution for this problem
regards
Rajeev

The replay answer
Advertisement
You can find string length first. Subtract length by 4,  Then use like new = str+4(len), use condense if required.

Go to See the other 2 answers

Problem with httpservice.length

Category:DefaultRelease time:2015-10-11Views:130

Hi, I have written a httpservice which will return a dataset to me, now i am trying to loop that http service i have written the below code <mx:httpservice id="something" url="........default.aspx" /> var i:int = 0 for (i = 0; i&[More]

Problem with offset length

Category:DefaultRelease time:-0001-11-30Views:130

Hi, i have a problem with offset length please see below code and suggest : data: content_new                LIKE soli-line.   "It has a length of 255 charecter content_new = 'MTE:SD0\nwssd01_SD0_00\CPU\CPU_Utilization'. content_new = content_new+4(2[More]

Problem using HTTPService with SSL

Category:DefaultRelease time:-0001-11-30Views:130

I have seen a lot of messages talking about problems with HTTPService and SSL (https) regarding Flex 1.5. What I would like to know is if there are any similar issues in Flex 2? I am using HTTPService to access an https address through a reverse prox[More]

Problem regarding offset length while upgrading from 4.7 to ECC 6.0

Category:DefaultRelease time:2015-10-11Views:130

Hello Friends, We are upgrading our system from 4.7 to ECC 6.0, during the this I have come across one problem in custom program. Program is not syntactically correct. It's giving error at  write statment. WRITE : W_LFA1 +3(1429)  to T_FILE. W_LFA1 i[More]

File Adapter problem for Fixed Length output file

Category:DefaultRelease time:2015-10-11Views:130

Hi There!, The following is my sample data format ABCD 2345 03Accounting Swissland ABCD 011234 1000Jack Gates 400000 03 ABCD 021234 1001Bill Welch 400000 03 In the first record has dept details: DummyText, Row identifier(not given in case of dept), I[More]

Problem with path length when using oracle drive

Category:DefaultRelease time:2015-10-11Views:130

Hello! Does anybody else experience this problem with Oracle Drive? When I create a deep or nested hierarchy in which the path length is longer than 250 (the limit might be 255) characters, I cannot access the deeper subpages. Example:"X:\INET\START1[More]

Replacing 20 fixstatements by Global Variable - Problem 255 bytes length

Category:DefaultRelease time:2015-10-11Views:130

Hello, we have an issue in businessrules with setting the fix statement on 1 dimension: we currently use Fix (@RELATIVE("CBU_ALL",0) ) - on level 0 are approx. 3000 members - on medium level are 20 CBUs Seat and 20 CBUs Door we have approx. 20-3[More]

PU12 File Layout:  Problem if Constant Length 28

Category:DefaultRelease time:-0001-11-30Views:130

I am trying to modify an existing PU12 file layout to change a few fields and add some new ones.  I can change and add them as long as I don't put the constant length as > 28.  If I do I get this message:  "The field length for constant field cont[More]

Problem with byte[].length

Category:DefaultRelease time:-0001-11-30Views:130

dear sir I am working with javacard 2.2.2, windows, jdk 1.5 and JCWDE I would like to know the byte length of an array ("aCrypter" in this fallowing code) 1     public byte[] cryter(byte[] Crypter){ 2 3          ecipher.init(key, Cipher.MODE_ENC[More]

VBR problems, wrong track length.

Category:DefaultRelease time:-0001-11-30Views:130

I have a problem. I listen to a lot of audiobooks for work. I like them to be organized so I rip them on the computer in WAV format. I then use Audacity to combine them into chapters. Here is where the problem with iTunes starts. I can import all of[More]

Problem adjusting region length

Category:DefaultRelease time:-0001-11-30Views:130

Hi folks, I'm having trouble getting regions to the precise length of a bar. This has been driving me mad, I just can't figure it out. I'm chopping up parts of a drum intro to use as a loop, and isolated a 1 bar stretch. I've set the tempo to roughly[More]

Hot
I renamed a power point a file and now when I try to open it it keeps giving me the error code -108. If I try to open or copy it say: The operation can't be completed because one or more required items can't be found. (Error code -43). What do I do?P [More]
I begin a two-way video chat as normal, both parties can see and hear clearly. After about one and a half minutes of normal video chat, the person on the other end suddenly starts getting a highly pixelated image of me, and they start to lose chunks [More]
I've got a DVD-R with my showreel burned on to it. I can play this on my Mac or on a DVD player etc but have not been able to work out how to get this footage onto my FCP in order to edit it further. If anyone can help, I would be very grateful. Chee [More]
I must have done a big mistake as I have got a windows computer at home but plugged my ipod on my mac computer at work. From that day my ipod got empty. I thought going home and plugging it bac in my laptop the problem would it be fixed, but hasn't w [More]
If I try to load any asset to the library or I try to draw a rectangle, Edge freezes. No way to close the software. What can I do? I'm new to Adobe CC Thanks for Answers ThomasWell then thats it ... I have a myriad of problems.... Systemversion: OS X [More]
when I try to purchase apps I get a "invalid address"  message... anyone have an answer?Restart your iPhone. Press and hold the On/Off Sleep/Wake button until the red slider appears. Slide your finger across the slider to turn off iPhone. To tur [More]
help Please! I have an HP7310 connected to my imac g5. I have an ibookg4. Im connected to dsl using 2-wire modem/router. I am trying to print from my ibook. I was told that if I set my imacg5 to share printer, I could do so. However, every-time that [More]
Mac OSX / Safari / Yosemite V 10.10.2 / My iMac does not allow me to upgrade or install a new Flash Player nor uninstall my existing Flash Player.  • I have made numerous attempts to make this installation, updated software on my computer, emptied ca [More]
Hi all, How do I select Item(s) in specific layer name my code is var layer=app.activeDocument.layers.everyItem().getElements("Info Layer"); can any one correct this, help will be appreciate Thanks SteveHI Trevor, I have a doubt with the below j [More]
Hi I want to select values in a object types in a table over the database link. like select name from [email protected] where name is of type varray(3) of varchar2(100) in the country table and db.com is database link. It is giving me error ORA-22804 [More]