Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SEEK and Record Pointer
Message
From
18/10/2007 10:58:32
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
SEEK and Record Pointer
Miscellaneous
Thread ID:
01261852
Message ID:
01261852
Views:
70
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
Next
Reply
Map
View

Click here to load this message in the networking platform