Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Fox help
Message
De
04/09/1997 11:06:23
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00047443
Message ID:
00048507
Vues:
22
>>Ok, here is the problem. I'm new in FoxPro 3.0 and know very Little about previous versions of foxPro (very little). The thing is that I compromised to build a simple application for the Personnel dept. and I can't make it work. I've tried the built-in wizard, modified this, and created my own "navigator class," but nothing sees to work.
>>
>>To begin, I created a database with two tables: "aTable"(with Primary Key) , "bTable"(with Regular).
>>I changed the Referential integrity to be:
>>Cascade(on updating),Ignore, Ignore.
>>Using the Data environment with the two tables I populated the FormFrame (3 pages)with the fields I wanted.
>>It navigates with no problems but when I want to add a record I get all sore of errors. It seems, first I don't know what I'm doing, and second I can't get the right code to insert in two tables.
>>
>>Please, can anybody help me! It all boils down to this two questions: how do I "Add" a record to the two tables, and how do I "Edit" the form to make changes on it. Yea, why not, I need the code.
>>Thanks
>
>
>I'm no expert either, but here goes. . . .
>
>use database
>append blank in tablename
>
>you should then be able to edit record accordingly.
>
>Hope it helps.

Thank, for responding. I tried this already but the problem is when I append blank I can only do it on one table and I wanted to append in both at the same time.
thanks
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform