Hi All:
On one form, the user can type in the first few characters of the last name (mpatlastname) and then click the Select button which brings up the another form (form2) with a grid in it. The GotFocus Event of form2 has the following code:
do case
case .not. isblank(mpatlastname)
seek alltrim(mpatlastname) order tag last_name of patient.cdx
if not found() and eof()
do form pat_add
thisform.release()
endif
case.......
endcase
The way it works is that the search positions the cursor at the closest match in the grid thus allowing the user to select the name or to navigate further and then select another name.
Problem: I enter a few characters on the last name field and on clicking Select, I get the Program Error message "Index tag is not found."
Concern: This works well on the development machine, but thorws the error message on the testing machine, after the whole application has been compiled.
What could be wrong here? Thank you for your guidance.
- Ravi
True greatness consists in being great in little things.
- Charles Simmons