Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Parsing parameters to an stored procedure
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00714045
Message ID:
00714209
Views:
20
This message has been marked as the solution to the initial question of the thread.
I will try to answer by example:

func CustUpdTrig && Customer table update trigger
local lcNewName
lcNewName= customer.Name
...
Write2Log( 'Customer', oldval('Name'), lcNewName, datetime() )
...

func Write2Log
para cTablName, cOldVal, cNewVal, dTimeStmp
...
insert into LogTabl ( table, old, new, ts) ;
value ( cTablName, cOldVal, cNewVal, dTimeStmp)
...

Put those two functions in your database stored procedure
Previous
Reply
Map
View

Click here to load this message in the networking platform