Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SEEK and Record Pointer
Message
De
18/10/2007 10:58:32
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
SEEK and Record Pointer
Divers
Thread ID:
01261852
Message ID:
01261852
Vues:
71
In the code below, when the Schedule table is first used, the value of s_Pat_Num is "New..." Unfortunately, that's also still the value of s_Pat_Num after the SEEK, though the value of that field is "0000101" on the record the SEEK found. If the record pointer is on the correct record, why would the value of s_Pat_Num not change?
		USE ( m_data_dir + 'Schedule') IN SELECT('Schedule')

		IF SEEK(m.SchedID, 'schedule', 'SchedID')

			m.PatientNumber = Schedule.s_Pat_Num

			* TESTING ONLY
			IF m.PatientNumber = 'New...'
				MESSAGEBOX('New Patients not working yet')
			ENDIF
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform