Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Understanding VFP internals
Message
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00584014
Message ID:
00584102
Views:
31
>BTW, how can I find SORTWORK settings? I checked SYS overview, but didn't notice it here...
>
>I'm not sure, if running EXE is acceptable. I'll discuss this possibility.

I can find nothing where you can determine this in code. All the help says is the default is the startup folder unless specified in CONFIG.FPW. Looks like you have 3 options -- live with what you have or run as separate EXE where you can specify a CONFIG.FPW file, something like what Steve suggested.

Expanding on this 3rd option -- I guess you could create a new table with the revised structure that you need, and insert [or append] records into this table from the original table, close the tables, delete the original table, rename the new table to the original name. All this would be done in the default [startup] directory, so that is the directory where you would have to determine file space. Or you could create the new table on a another drive where you have enough disk space. Append from the old table if the field names have not changed, otherwise do INSERT SQL. Delete the old, copy the new to the original location with the original name as well.
Mark McCasland
Midlothian, TX USA
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform