Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Table Order
Message
 
 
To
08/01/2010 11:39:56
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Miscellaneous
Thread ID:
01442768
Message ID:
01442800
Views:
50
Ken,

This code doesn't make much sense, but I unfortunately don't have much time today to spend - I'll need to run in a few hours and I also need to learn something before that.

Yes, seek function is much better than SEEK command. Also, look at your code - you're searching for the Addition.Name in the Addition table - it should always find it. (unless Addition and Adition are two different tables).

To get the code properly displayed use < PRE > < /PRE > tags - no spaces.

>USE ftab &&added by me
>* SELECT fborrowe
>
> USE adition IN 0 &&added my me
> SELECTadition &&added my me
> SEEK addition.name
>
>SCAN &&added my me
>IF FOUND()
>THISFORM.UpdateResultsWindow('error name already entered')
>ELSE
>THISFORM.continue
>ENDSCAN
>
>
>IF the names found error out if not run that form isnt that correct expession and table?
>also are u sayin IFseek() is better to use than seek?
>
>
>==Off topic how do you get your code to show like its in a compiler :D
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