Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Appending data from one table to another without overwri
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00562372
Message ID:
00562812
Views:
27
SET SAFETY OFF will suppress the unwanted dialog. Look it up in the help file for more details. The default is ON, which prompts the user before overwriting existing files. OFF is what you usually want in a production application, and it skips the warning before overwriting files.

- Bruce



>Hi Bruce,
>Thanks for the code for the grid, it works wonderfully! I don't think I can use the messagebox code however as it's a system message box that appears and not one that I created. Here's what happens: during runtime after a sql statement runs, a message box appears (asking if to overwrite the file) requiring the user to select "yes" or "no" and I would like to have the message box automatically choose "yes". I guess something similar to the "Set Notify OFF" command but since that's limited to messages like "Expression is valid" dialog boxes. Also I've got Fox Pro ver. 6.0 so it won't perform all the new things from version 7 that you've got.
>Thanks again so much for your help!
>
>Max
"Problems cannot be solved at the same level of awareness that created them." - Albert Einstein

Bruce Allen
NTX Data
Previous
Reply
Map
View

Click here to load this message in the networking platform