Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem with Exclude=.T./Exclude=.F.
Message
From
26/06/1999 16:44:26
 
 
To
26/06/1999 14:05:12
General information
Forum:
Visual FoxPro
Category:
Project manager
Miscellaneous
Thread ID:
00234365
Message ID:
00234387
Views:
17
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform