Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Table Order
Message
 
 
To
08/01/2010 10:55:49
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Miscellaneous
Thread ID:
01442768
Message ID:
01442775
Views:
68
	USE ftab                   &&added by me
*	SELECT ftab 
	
	USE addition              in 0 && otherwise it would close the previously opened table
**	SELECT addition             
	if SEEK(addition.name,  'fTab', 'Name')  &&check for name 1st
	THISFORM.UpdateResultsWindow('error name already entered')
	ELSE
	THISFORM.continue()
	ENDIF
>IT points at the Seek line

SEEK works with the INDEX set. You may want to use SEEK() as a function instead and pass the tag order as the last (3rd) parameter.

See changes I made in the code.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform