Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Vfp 7:How to prevent user from getting into database
Message
From
29/01/2004 17:02:56
 
 
To
29/01/2004 16:04:46
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00872022
Message ID:
00872079
Views:
14
You could use SYS(16). If it returns an empty string you are in the Development Environment. Otherwise it returns the name of the currently running executable.

>Txs for all the answers
>
>but how can i check if the table is opened from vfp or from my application.in short how can i identify in which environment am i in, dev or prod ?
>
>Txs
>
>>Check out the database events. You can put code in the DBC that will only allow tables to be opend if a certian condition exists, such as a global variable you create and initialize at the beginning of your program.
>>
>>>Hello all
>>>
>>>How can i restrict the user from getting to the database from foxpro,i want them to use the application to make any changes.
>>>
>>>txs
Thanks,
Dan Jurden
djurden@outlook.com
Previous
Reply
Map
View

Click here to load this message in the networking platform