Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Table Order
Message
 
 
À
08/01/2010 11:39:56
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Divers
Thread ID:
01442768
Message ID:
01442800
Vues:
49
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform