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 am looking for a download that was there on Hyperion forum download before Oracle buy out or some where. The download kit was to load Essbase Log to an Essbase Cube to help analyze the activity. Kit includes .rul file and base outline structure etc [More]
dear all- I'm experiencing a strange situation. Instead of using the MM-report, I want to do a GRIR analysis in FI. When I run FBL3N for the GRIR account I see that for the goods-receipt related documents (doc type WE) field like puchase order and ve [More]
Hi there, I've been digging around for answers but I'm still not clear on what the right path is. I have a new MacBook Air. For the obvious reason (space) I don't want to keep my photos on it. I have a functioning MacBook with a dead backlit screen. [More]
I just updated itunes and started to update my phone to iSo5 when wireless connection was lost on my laptop, I can't get it back and it says there are no networks available-router is working fine, am using it on my iPhone now. Help!Reboot your router [More]
Hi, At the time of Production receipt, we will debit the FG Inventory and credit the Change in Stock A/C and at the time of delivering the  Finished goods to the Customer we will debit to Change in Stock and Credit to FG Inventory A/C ( Simply revers [More]
I am suing hotmail account on Mac/ apple Email.  All messages sent from hotmail account are shown in duplicate in Sent folder. Its frustrating to delete these messages as I have a habit of keeping Sent folder empty after transferring the required mes [More]
Yes, I know, don't tell me, it's not a supported combination. But, hey, it works. 200 users on a whiz-bang server with loads of mem / disk space, DB on another box, all reasonably well tuned, no performance issues -- and I'm not dealing with users' d [More]
I wish to run an application in the background so that it does not show up in (and take up valuable space on) the dock. How do I do this? I've tried setting the "Hide" check box in the account preferences but the app still shows up in the dock.w [More]
Hi, If a supplier rejects a PO in SRM(SUS), then the rejection message is not flowing back to MM (from where the PO is sent), as to why the supplier rejected the PO. Please help. Regards, ManuHi, What you mentioned is not a supported feature by defau [More]
Simply put, is there a way to see who is currently in a group call that's going on without joining it? I know that on the MAC platform just by clicking on the group you can see who's in it, but it doesn't seem that there is a function like that on wi [More]