Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Program Error
Message
De
19/09/2002 12:33:59
Henry Ravichander
RC Management Systems Inc.
Saskatchewan, Canada
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Program Error
Divers
Thread ID:
00702326
Message ID:
00702326
Vues:
55
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform