Fake buffer info

fabdeg2003

New Member
Hello!

Does any one know if is it possible to change the value of fields in a buffer using find trigger like a fake record? When a user searches for a customer I need to show other information in all of our reports and programs, but without change the record.

Any other idea?

Thanks in advance for any collaboration.

Fabricio
 
That sounds like a strange requirement to me. The users don't want to see the data they are looking for :awink:
If you want to do that in a find trigger then you can better change the table so it reflects the data they actually want to see, or use a temp-table copy the data there and change what you want....
 
I am changing a program that was not development by me, so I don't have the sources.

I have access to the database and this program have several reports "looking" for the customer table. When the customer code 999999 is returned in a search i want to query other table and "change" the buffer value. This code will be a "integration" code.

My english is terrible, so I don't know if I was clear!

Thanks again!

Fabricio
 
If you don't have source, how are you going to recompile following the trigger change? (If you have encrypted source only... well, that problem is easily solved).

Anyways, thank you for reminding me that as frustrating as my job is some days, I have it pretty good. Programming without source, honestly! This thread is the programming equivalent of visiting a third-world slum and realizing my neighborhood ain't so bad after all.
 
Welcome to my world! :lol:

I develop additions for an ERP software here in Brazil and unfortunately we don't have access to sources.

Sometimes it is quite complicated to carry out the customer's wishes.

If the find trigger work well, i'll be pretty happy. I just don't know where to beggin.

Thanks again,

Fabricio​
 
Back
Top