Originally posted by GiGa


"If you do the one-liner, add a procedure in the program units except I wouldn't pass in parameters at this point (you can do that later when it works without them)."

Could u explain this to me a bit more, please?? i dont understand how it could work without the parameters......
You can use parameters or not, it is up to you. I suggested not using parameters because that is a bit more complex than picking off values inside of data block fields.

I need some background on your experience level to better help you, so please answer the following questions. I'll tailor future posts based on what I think you know.

Do you know how to add a trigger to a button or data block item?
What can you put inside an item trigger?
Do you know how to create a function or procedure in the program units area?
Do you understand what is meant by ":datablock_name.item_name" as far as using it as a value?