>Hi,
>When I put the tables into the DE, VFP9 will prompt out a dialog box
>to locate the tables in which database. So the tables which in DE is belong
>to the database, it is already specified.
>
>I need access which database and which tables at runtime.
>
>Derek
Yes I understand that, but that is why you will write code in the BeforeOpenTables event and change the Database there like this:
This.Cursor1.Database = Goapp.cPath + "MyData.dbc"
This.Cursor2.Database = Goapp.cPath + "MyOtherData.dbc"
This.Cursor3.Database = "c:\Test.dbc"
This.Cursor4.Database = "d:\op_serv.dbc"
I never forget a face, but in your case I will make an exception :-)