Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Checking if item already exists
Message
 
À
18/10/2007 15:30:20
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
01261920
Message ID:
01261966
Vues:
7
>Missing informations. Is the textbox bounded to the field Banco in the cursor Bancos1 or Bancos?

Textbox is bounded in banco.dbf

In the init method of the form I have

SELECT BANCOS1
APPEND BLANK


Is this a multi-user application? If so, your logic would not work in the case that 2 users enter the same value at the same time. Can you make the field a candidate key in the table instead? Or use a trigger?

Yes, it's intend to be multi-user

is there a better way to check if the record already exists
in table banco.dbf ?

Moises
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform