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
When running reports -http://host/reports/rwservlet?destype=PRINTER&desname=printername&desformat=dflt.prt&report=test.rdf&userid=test/[email protected]&MODE=CHARACTER report with destype=printer desname=printername, the report fails with REP- [More]
Hey all,does anyone know if the use of spdif in logic express 7 is possible? i have a motu 2408II and it has spdif in-out but im not sure if lofig supports it or not.i dont see it in the channel input area.Thanks for your answer. The search function [More]
Unable to make/receive calls or texts. Connect with 3G , Bell Mobility is my Carrier. If home , will connect to internet through my WiFi Modem. Sim Card is installed, I have shut down. rebooted , no fix. Taken SIM card out and back in . Set the phone [More]
Hello all: I only want to print the final result(distinct records) in the footer section, therefore, the header and details sections are suppressed. However, I'm showing duplicate records in the footer section. How do I suppress the duplicate records [More]
Hi - I am required to customize an EDI interface, here's what I need to do.. While triggering DELVRY03 Idoc from delivery doc, I need to go to couple of z-tables(X-references) and pick required data (corresponding values) and insert it in Idoc by ove [More]
HTTP Status 500 - type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception javax.servlet.ServletException: org/apache/jsp/viewdetails_jsp (wrong name: org/apache/j [More]
Hai All,    could anyone help me with the sample code..I want to know the parameters for fax while calling the function module.. ThanksHI LAXMI, CHECK THESE THREADS... Sending Smartforms through Fax Sending SMARTFORM output to FAX gateway How to fax [More]
Any time I try to connect to itunes, windows recognizes the ipod, but it never comes up in itunes. When the bubble for "trust" or "dont trust" comes up, I tap trust. Then I hear the window sound for disconnecting something from a usb p [More]
Hi, I need to display different logo according to different user. For eg: If user 1 signs on logo 1 should be displayed             if user2 signs on logo 2 should be displayed. I think it can be acheived by using if condition in conjunction with cur [More]
My powerbook will turn on but it will never get to the operating system screen where you enter a password. I don't know what to do and sometimes it will get to the all blue screen but not past that... Any help would be greatly appreciated. Also, is t [More]