Florian Hofmann
2005-03-26 22:41:19 UTC
Hi,
I am not so familiar with VFP. I have an VFP-Database, which use a
variable (MyVariable) in a trigger. I want to set a value for this
MyVariable in the SQL-Statement (e.g. used from MS-Querry).
So i am looking for a sql-expression like:
DECLARE MyVariable int
Set MyVariable = 123
update MyTable Set Nickname="Donald" where Surname="Duck"
But... unfortunately, it does not work...
How can i pass this value to the trigger using ODBC and MS Querry?
Thanks in advance,
Florian
***@web.de
I am not so familiar with VFP. I have an VFP-Database, which use a
variable (MyVariable) in a trigger. I want to set a value for this
MyVariable in the SQL-Statement (e.g. used from MS-Querry).
So i am looking for a sql-expression like:
DECLARE MyVariable int
Set MyVariable = 123
update MyTable Set Nickname="Donald" where Surname="Duck"
But... unfortunately, it does not work...
How can i pass this value to the trigger using ODBC and MS Querry?
Thanks in advance,
Florian
***@web.de