Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Record out of range
Message
From
23/03/2004 10:13:27
 
 
To
23/03/2004 03:16:58
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00888270
Message ID:
00888866
Views:
9
I see one thing in your code that will trigger an error but "End of File encountered" is the error I get.
SELECT 1
LOCATE FOR UPPER(NO)=UPPER(TRIM(THISFORM.TEXT1.VALUE)) .AND.  UPPER(NAM)=UPPER(TRIM(THISFORM.TEXT9.VALUE))
IF !FOUND()
  SCATTER MEMVAR blank
  no=thisform.text1.value
  nam=thisform.text2.value
  desc=thisform.text3.value
  unit=thisform.text4.value
  total=thisform.text7.value
  min=thisform.text6.value
*!* record pointer is at end of file after the above locate command if not !found() 
  GATHER MEMVAR
*!* gather memvar will generate an error "end of file cncountered" unless you append a record first.

ELSE
...
ENDIF
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform