Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with Exclude=.T./Exclude=.F.
Message
De
26/06/1999 16:44:26
 
 
À
26/06/1999 14:05:12
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de projet
Divers
Thread ID:
00234365
Message ID:
00234387
Vues:
18
>I've got a problem with including (Exclude=.F.) a table which belongs to a database container into a project file.
>It's easy to do that using a mouse, but I'd like to do that programatically.
>
>With a free table code like this:
>...
>Application.ActiveProject.Files.Add('MyTable.dbf')
>...
>Application.ActiveProject.Files.Item(xx).Exclude=.F.
>
>works properly, but id doesn't when 'MyTable.dbf' belongs to a database.
>
>My goal is to include the whole database (with all tables) into *.exe/*.app
>
>Could anyone help me. Thanks in advance.

I don't know the answer to your question- but you've stumbled onto something interesting that might be worth pointing out to others: a contained table, even though present in the project manager, does not show up in the files collection of the project. Even if you explicitly add it using the collection's Add method. The only file that gets added to the collection is the dbc itself. Hmmm-
Erik Moore
Clientelligence
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform