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.
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).