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