Information générale
Catégorie:
Gestionnaire d'écran & Écrans
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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement