Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
PageFrame (Append)
Message
De
06/10/1999 14:11:12
 
 
À
06/10/1999 10:40:17
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00273176
Message ID:
00273295
Vues:
15
Hi Greg.

>> How is this accomplished utilizing the Data Environment which creates Alias (Cursors). <<

INSERT INTO < Alias > ( Field1, field2, etc... ) VALUES ( value1, value2, etc... ) Just like you would if you USEd the tables in code.

>> How do I control the use of the Order Table for pageframe page 1 and Order Detail for pageframe page 2. <<

Suppose you have a command button on page1 that says 'Add Detail Line'. Create a form method called AddNewDetail and in the commandbutton's click put:

Thisform.AddNewDetail()

In the AddNewDetail method, you have code something like this:

INSERT INTO OrderDetails ( < Field in order details that contains PK of order header > ) VALUES ( < PK from order header > )
Thisform.Pageframe1.ActivePage = 2
This.Pageframe1.Page2.Refresh()

Marcia
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform