Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problems with designing a form ..
Message
De
15/10/1999 09:00:47
 
 
À
14/10/1999 17:43:36
Kenneth Downs
Secure Data Software, Inc.
New York, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00276531
Message ID:
00276772
Vues:
21
Hello Kenneth!,
Thanks for your advise and dedication ...
Yes, you're close about what I want. I've made a form 1- N, and I'm using a Grid for the N side, but the problems I have is that I don't know how to handle inserting, deleting and updating the info in the grid.
Can I be more specific? Sure I can!, right? ;) so I'll tell you exactly what I've done.

1. I have a parent table called family (cod_family c(2), name_family c(40)) and the child table called children (cod_family c(2), cod_children c(2), name_children)
2. When we attempt to save info in the grid we automatically save the cod_family and the cod_children fields, but we enter the name_children field
3. We've determined that pressing CTRL+ENTER we will add a new row in the grid but this is not working, the name_children data isn't saved
4. When we want to delete a row in the grid, we are allowed too, but if we try to add a new row we have the error "Uniqueness of ... is violated" or something like that.

Hmmm I hope this time you'll understand well what I mean and please help! Maybe you've already noticed, but I'm not good yet programming in Visual. Thanks for your time and I'll be waiting your answer!

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

Click here to load this message in the networking platform