Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
One to many form problem
Message
De
29/03/2000 13:32:46
 
 
À
29/03/2000 12:55:22
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00352219
Message ID:
00352259
Vues:
10
>I have set up a one-to-many form. Both primary & child are based on tables (not views). Tables are related on system generated key field. SET SKIP TO . I have a read-only grid on the screen that is used to display child records. The grid sits in a container together with editing buttons for the child. Adding/Editing is done by calling up a modal form in the default datasession.
>
>When I click on the child's it runs:
> SELECT
> APPEND BLANK
> DO FORM
>I expected the modal form to be sitting on the blank record, but instead it shows the FIRST matching record for this parent (not a blank entry screen). I see the same behavior when I highlight a row and the modal form - again it shows the first matching record for this parent.
>
>I'm obviously missing something basic here. Can anyone point me the
>right way?
>
>Thanks for your help!

You might want to replace the key with the parent value after the append.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform