Originally posted by fepsy
A work table? I don't know that concept, can't find it in the guides. Can you please explain. My solution for now is to add fields in the form and calculate the content in ObjectPal. Then the field is available in the report.
Sorry, I've been off the air for a while and haven't had the time to even get a reply posted.
The concept of a work table is simply an application implementation. The idea is that you create a table that probably only ever has one record in it. It is best to put it into your private directory. The record can consist of any number of fields that are relevant to your needs e.g. if you need to pass an amount from a form to a report, you would define one of the fields with those characteristics. You then populate the value of the field in the form, call your report and hey presto, the value that you are passing is in the first record of the work table. The general assumption with this concept is that the contents of the field are only meant for a short life span i.e. it simply "transports" the value from one object to another where there is no other apparent "transport" available. I hope this helps you.
Cheers.