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'm retiring an old MAC notebook and moving to a new desktop MAC so I have to move LR and all my images, preferences, etc. I currently have an internal hard drive with the following: root\applications\adobe lightroom.app root\pictures\lighroom\lightr [More]
I'm running Mac OS 10.9.5, and Photoshop CS6 v13.0.6 x64, with the Camera Raw 8.6.0.254 plug-in. I just bought a new Ricoh GR camera, and I love it. However, I've been unwilling to process any of its photos so far, because it looks like Camera Raw is [More]
I have a 15" MacBook Pro 2.66 GHz purchased in late September 2009. There is an odd bug that shows up in the mosaic screensaver (the one that represents one of your iPhoto pictures using a mosaic of your other photos) when I use the "Better Grap [More]
Hello Experts, We recently loaded the data to 0IC_C03 using 2LIS_03_BF, 2LIS_03_UM. Quantity total stock, amounts are not matching between MCBA transaction and BI cube. Please let me know how can we proceed. Regards, JyotiHi, Step by Step Loading Dat [More]
When searching Google using Firefox browser my search results are not consistent with normal results. Logged out of Google of course. Example: I search something like ccleaner or firefox and there is not a result linking to them at all. But the links [More]
For any one who has tried absolutely everything to get the album art?on their zen vision m and have it fail. I feel for you. If this is you, consider using a program called media monkey. It doesn't matter what size the pics are and it syncs them stra [More]
How do I know if my copy of FCP2 is an academic version or otherwise not eligible for upgrading. I plan to buy a G5 and upgrade my software in several months and I'm trying to anticipate what I will need.The packaging will say it. Also, with FCP open [More]
i am trying to modulate fsk and send it to the daq card(keithly kusb 3116) using LV Link 3 vi. i have posted its vi which i have made and the error which comes. which states "requested operation requires that valid samples in buffer be a multiple of [More]
i have word for mac, which i just realized comes with powerpoint, but emails i receive with a powerpoint attachment wont opent.  its saying its a "binary file" is there something i need to do to open it with the mac version of pp?Not according t [More]
Hi, I'm experiencing Kernel Panics while using applications like GoToMeeting and Skype. Using Console.app and reading the kernel panic log, I read something like: last loaded kext com.apple.driver.AppleUSBCDC and also these drivers: com.apple.driver. [More]