Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Twice a key in a table
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
01118041
Message ID:
01118061
Vues:
8
What is your back end? If it's a VFP native tables, you can have a candidate index on this field which would ensure uniqueness. You should trap for error yourself.

>Hi all,
>
>I have
>
>Plan.dbf
>cnumplan ( ex '600400' )
>cdenomplan 'Achat marchandises'
>
>
>I use local vfp view with BUFFERMODEOVERRIDE = DB_BUFOPTTABLE && optimistic table buffering
>
>In addition mode or edition , I don't want twice numplan = '600400'...
>
>In beforesave() , what can i put as sqlclause ?
>
>Sorry for my poor english
>
>bernhart
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