Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Add Tables
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
Divers
Thread ID:
00084113
Message ID:
00084117
Vues:
34
>Sawadee Kahp,
>
>I am working on a project that needs to have tables added after
>distribution. These tables need to be used with a form class that
>takes a list of parameters for binding grid columns and other controls.
>Some problems are that I need to add tables to the database and use
>them after the project is compiled. When I try to use a table that was
> not previously included in the project, I am denied access to the .dbf
> file. Is this because the table was not included in the project? Do I
>need to use a .dbc that is not incuded in the project? I don't know if
>that is possible. Another question is, can I set a ControlSource
>property for a control on this on-the-fly form just by opening a table
>in a workarea then select it prior to DOing the form? Then set
>form.control.ControlSource = table.field? Or any other binding for that
> matter. This is a project library that needs to have things added to
>it daily. It would be much easier to add tables with code and reference
> the tables when needed, rather than create new forms for every new
>added item.
>
>Eric K.

Take a close look a the SELECT statement. You should be able to select * from some other data source and do an INTO Table and include the DATABASE clause which should insert it into the database you desire. I've done this with some 2.6 tables and got them included in my database.

Steve
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform