Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to tell which default expression called stored proce
Message
From
09/07/2001 15:31:37
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00527825
Message ID:
00528309
Views:
13
>Hi Alex,
>Unfortunately this doesn't work in VFP. In cases where you use the SQL Insert command, VFP internally opens the database and table but never makes them active. Functions like DBC(), SET("DATABASE") and ALIAS() return nothing or erroneous information.
>
>FWIW, if the default value function is in the DBC (i.e. store procedure), you can get the name of the DBC using juststem(sys(16,1)). SYS(16) will return the procedure name with the procedure file speficied as the DCT (memo file) associated with the database. To see if the function is a stored procedure, check the extension justext(sys(16,1)) to see if it is "DCT".

Thanks for the info, Larry. I am finally really getting into VFP. What a cool product!

Alex
Previous
Reply
Map
View

Click here to load this message in the networking platform