Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Include DBC in EXE file?
Message
From
16/12/2021 05:24:34
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
16/12/2021 05:17:01
Lutz Scheffler (Online)
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
01682969
Message ID:
01682972
Views:
46
>>Can DBC files be included in an EXE file?
>>Tables would continue to be stored in a Folder.
>>
>>Will this break the link between Tables and the DBC?
>
>I would never ever do this. My POV is. all files of a database belong into one single folder. And I that whole thing is generated at runtime.
>But just try it? Generate a cheap DBC , some prg to do something on it and run it?

There's nothing written into the dbc-dct-dcx when records are updated in its tables. Just looked at the dates of the files in my current database, and sure enough, the dbc has the last year's datetime, and some files were updated a few minutes ago. So if there's no change to tables' structure, the dbc is pretty much readonly.

The trouble will appear the first time there's a change in the structure - an exe containing the dbc with the new structure will error out when run while the tables' structure don't match. Also, opening any of the tables apart from the .exe (as in „something's fucked up, let's open this in VFP6 to fix the index“ or some such intervention) will be impossible if the dbc can't be found, it being inside the exe.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform