If yes, what is wrong with this function code? (The code sets the Invoice Number (as string) field for records whose current string is "0 (un-paid)". After that I want the Form named Add_Invoice to open as a popup. It is not opening. Please help me figure out why not. Thank you.
- void SetPayCode()
- {
- NewInvNum = InvoiceNumberList [FilterAid == "Next"];
- rec = Session [InvoiceNumber == "0 (un-paid)"];
- rec.InvoiceNumber = NewInvNum.Code;
- openUrl("#Form:Add_Invoice", "Popup window", "height=500,width=400");
- }