Hi All,
Trying to find some general way for next issue.
In a trigger u ussually compare the values of the new buffer and the old buffer. Lets use "customer" as a table name.
In this case we can compare in customertrigw the fields of customer vs o_customer.
BUT i wanna place some of this logic in a general trigger include. In here i have a variable cTableName having value "customer"... how can i go from this value to the buffer of customer and o_customer and do some sort of "buffer-compare... save in" to them to find out which fields are updated.
I tried to go over CREATE BUFFER cTableName etc but keep bumping into the fact that i need the real customer and o_customer handles of the current record in those buffers....
ANY suggestions?
Thx.
Jakke
Trying to find some general way for next issue.
In a trigger u ussually compare the values of the new buffer and the old buffer. Lets use "customer" as a table name.
In this case we can compare in customertrigw the fields of customer vs o_customer.
BUT i wanna place some of this logic in a general trigger include. In here i have a variable cTableName having value "customer"... how can i go from this value to the buffer of customer and o_customer and do some sort of "buffer-compare... save in" to them to find out which fields are updated.
I tried to go over CREATE BUFFER cTableName etc but keep bumping into the fact that i need the real customer and o_customer handles of the current record in those buffers....
ANY suggestions?
Thx.
Jakke