Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Master - Detail form. When to update key in details?
Message
De
26/09/1997 23:42:18
Shihchau Tai
Apic Systems Pte Ltd
Singapore, Singapour
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00051730
Message ID:
00051922
Vues:
38
>>Thx for your answer. You answered many of my questions and I appreciate it a lot.
>>
>>Judging from your answer, you don't seem to have used AllowAddNew before. If that is so, may I know how you add a new line to the grid in a master-detail form if the user doesn't like the idea of clicking a new button or remember a special key like {CTRL-INS} kind of thing? Can you give me some tips?
>>
>>
>>Tai
>
>Tai, you're right, I don't use the AllowAddNew. At least in 5.0 there were some problems, so I developed my own technique. When my users down-arrow on the last record, I do an insert with the primary and foreign surrogate keys and any other information (date added, user) that I want to add automatically. If they complete this record, they can continue to add. If not, then when they down-arrow again they are asked if they want the blank record. Any record added but not edited by the user (I use GetFldState) is deleted automatically.
>
>HTH
>Barbara

Thx a lot.

Looks like there are some works to do before I can use the grid for a simple application. This is not good.


Tai
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform