Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Add new no. in a grid when u add a record.
Message
De
05/11/2002 10:32:38
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
05/11/2002 08:30:02
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00718879
Message ID:
00718920
Vues:
23
>Dear All,
>I have a grid in a form which is collecting information from a table. I want to add a maximum record no in one of the field in the table whenever user uses down arrow key to add new record. How do I do it? In which event I have to write the code?

Personally, I set primary keys from the field's default value (in the table structure, with MODIFY STRUCTURE). I call a function that returns the correct number.

HTH, Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform