Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Program Error
Message
From
19/09/2002 12:33:59
Henry Ravichander
RC Management Systems Inc.
Saskatchewan, Canada
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Program Error
Miscellaneous
Thread ID:
00702326
Message ID:
00702326
Views:
54
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    &&do form notfindapppatient
			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
Next
Reply
Map
View

Click here to load this message in the networking platform