Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do I triger a field validation for a primary key
Message
 
À
29/09/1997 07:20:30
George Alexander
Qatar Armed Forces
Doha, Qatar
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00052119
Message ID:
00052331
Vues:
35
>Hi.,
>
>I am a new entrant to these forums and Visual Foxpro. I just want to know whether anybody can
>help me with the following how to:
>
> I am creating a form based on a table with row buffering. I want the form to check the entry
>in the primary key field as soon as the operator leaves the field while in add routine.
>
> Also I would like to know whether I can change the control source of the fields for add routines
>to the memory fields and for all other purpose the base table fields as the control source.
>
>Thanks in advance. By the way I found a message in my name without myself ever knowing it ?
>Is such a thing possible as this is my first ever message to this forum.
>
>alex
Hi alex,

I too, am very new to vfp, but I can answer your question. As long as your table has the index set as primary and you have your form set to row buffering, vfp will do this automatically. I have set up several forms like this. It also helps if you use the buttons from the wizard class that autmatically move through any table attached to a form. They allow adds, edits and deletes and ms wrote all the code for you already.

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

Click here to load this message in the networking platform