Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Data Model

Status
Not open for further replies.

JE77

Technical User
Aug 29, 2002
12
IE
Hi all,
I have a form for adding the details of a new project. Once all the details are entered, and the 'begin Design' button is clicked, a 2nd form is opened.Also a new empty table is create under the name of the new project. I am trying to use this newly created table as the underlying table for the 2nd form.
Basically very time these form are used it will be creating a new project which means there will be a new table created.
Each time i want the same 2nd form associated with the newly created table.
If ye can understand what i am trying to do, any suggestions would be appreciated.
Thanks
 
In the code to open the 2nd Form use FormOpenInfo. For example:

var
frmInfo FormOpenInfo
myFrm Form
newTableName
endVar


;you would use a variable containing the name of the new table instead
newTableName = ":WORK:NEWTABLE.DB"

frmInfo.masterTable = newTableName
frmInfo.name = ":WORK:FORMTWO.DB"
;etc.. see help for other parameters

frm.open(frmOpenInfo)
;...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top