Hi Guys,
I have a NetWebForm calling a NetWebBrowse.
On the tab after the browse in the NetWebForm I'd like to "handle" and check the records being added by the user and give totals or warning upon their input.
I have added code in the "NextTab, Start" embed to loop through the records in the table, but for some reason my loop and record handling doesn't want to work.
Here is my code: * This code is only suppose to count the records according to the key-value ...
CASE lower(p_web.PageName)
OF lower('fWizard_nexttab_' &
ACCESS:TABLE.OPEN()
ACCESS:TABLE.USEFILE()
RESET(TABLE,1) !Reset the record pointer
TABLE:REC_ID = GLO:REC_ID !GLO:RecID stored in previous instance
SET(REC_ID_KEY,REC_ID_KEY)
LOOP UNTIL ACCESS:TABLE.Next() <> LEVEL:Benign
IF TABLE:REC_ID = GLO:REC_ID
TOT:Cnt += 1
ELSE
BREAK
END
END
ACCESS:TABLE.Close()