Click to See Complete Forum and Search --> : Need Help Pls


nj7376
11-21-2002, 11:02 PM
Dear all,

I am creating a webpage using PB8. Since there will be a DataWindow and a retrieve statement which is working in normal environment. How do i actually convert or use java script to interprete this statement ("IF ISNULL(sle_inv.text) THEN ELSE dw_1.retrieve(sle_inv.text)END IF;" ) .Hope somebody can help me out on this. :confused:

nj7376
11-22-2002, 06:32 PM
Well thanks Dave i really appreciate it, actually dw_1 is a DataWindow term in PowerBuilder. I'll try to give it a shot.


Norman

nj7376
11-22-2002, 06:37 PM
Well thanks Dave i really appreciate it, actually dw_1 is a DataWindow term in PowerBuilder. I'll try to give it a shot.


Norman

nj7376
11-22-2002, 07:02 PM
Oh forgot to tell you but that particular SQL statement is actually the script for a SUBMIT(Retrieve) button function. What i'm trying to do is from the STATIC TEXT FIELD (sle_inv) when i input a value lets say invoice no:INV1234 then when i click on the SUBMIT button it will actually retrieve the details from the dw_1 which is a datawindow with retrieval argument = INVOICE (In which i have input on the TEXT FIELD).

Norman

nj7376
11-22-2002, 07:36 PM
So how do i go about when using a SUBMIT button to retrieve a data in javascript. Thanks again Dave.