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
hi i want to load a properties file from the directory where my java program is (the class/jar files) somebody told me that i could use System.getProperty("user.dir"); but it would only work under windows; under linux it points elsewhere. how ca [More]
The existing description on Apple support is not valid. There ist no possibility to setup the account manually to e.g. IMAP. Best regardsModify in what way? And what operating system are you running - is it indeed Leopard as your signature states?Rea [More]
im having a problem with sending mail whilst in my yahoo account. i can view but CANNOT send in 3G mode but strangely I CAN send in wi-fi mode. motorola state there is a known fault with yahoo servers. can anyone shed any light on how to cure ???i ha [More]
Hi all, I need to export video with the alpha channel embedded. The video is going to be used for Flash (.FLV). Is this possible to do from FCP6?Avid Codecs from their website, they are freely available for both Mac and PC and can work very well as a [More]
I brought a wireless 6.1 home theatre system for my living room and now my macbook pro cannot link up to my airport (the flat one) that is located in my bedroom when I'm watching dvd and wants to work on my macbook pro at the same time. Turning on in [More]
I had been using the beta version of Lightroom 3 without issues.  Once I installed the shipping version I get out of memory messages all the time.  First I noticed this when I went to export some images.  I can get this message when I export just one [More]
Dear All, We have inventory settings as follows: 1. Group Fruit 2. Name Pineaple 3. Code P001 4.Grade value : 24 -> Grade A, Grade B, Grade C 5. Price List Grade A, Grade B, Grade C I am really confusing whether I have to create itemcode P00124A or j [More]
Hi, We currently run approx. 200 1142 AP's managed by a couple of WLC's (version 6). These are all in internal locations. We would now like to cover external areas and are looking for a simple external AP to deploy, ideally the AP will support 802.11 [More]
if it is possible then please tell me the procedure and the requirementsInformation on Apple's internships can be found here: http://www.apple.com/jobs/us/students.html When you can apply will undoubtedly depend on the specific job. Find a job you're [More]
Hi, I have a 11-inch macbook air, mid-2012 according to my "About this Mac" and it works like a breeze except for a single issue. Every so often, completely unpredictably, the top of the screen will be flickering when I open the computer up. It [More]