I am converting a FPD2.6 application to FPW2.6. There is a browse of the invoice header table that includes that includes a function that selects the invoice detail table, adds up the details and returns the total. While in this browse windo the user can hit enter to open a second browse window to display payment details. When the user hits esc to return from the second browse window, the application fails inside the above mentioned function with a data mismatch due to having the wrong table selected. Tracing the code never shows a line of code executed to change the selected table.
The code that fails is:
SELE INVDET
GO TOP
SEEK sInvNo && This line fails and the current table shows as INVHEAD
The same code runs flawlessly under DOS.
Any Ideas?
TIA
Greg