B
box2003
I know how to access table data on forms with use of recordsets for delete,
update, and add records to a table that is not bound to a form.
I think I am in a similar situation where I have a report that has a couple
function calls to a module and within each respective module function, a
series of case statements exists. Each case selection statement has hard
coded decimal values used for the report textbox object calculation. I have
taken the decimal values that are contained in the case selection statements
and put them into a table with a unique rowid, where the unique rowid is a
userid. How can I access these table values from the report function call
that was originally used to obtain the decimal value in each of the case
selection statement?
The reason for wanting to do this, each time a calculation value changes, I
have to get into the module, make the hard code changes, then redistribute
the application front end. In my new method, the decimal calculation values
are maintained in a table and the user can access the table to change a
desired value. When the report fires, the decimal value is obtained from
the table by way of the function call and unique rowid, which represents the
userid.
The report has a query as a main datasource. Within the report detail area,
two textboxes exists that have calls to the described functions.
Any hint of a direction would be of value here so I could at least begin to
experiment how this is accomplished.
Thank you and if this is not clear of what I ask, I can try to explain in
more detail.
update, and add records to a table that is not bound to a form.
I think I am in a similar situation where I have a report that has a couple
function calls to a module and within each respective module function, a
series of case statements exists. Each case selection statement has hard
coded decimal values used for the report textbox object calculation. I have
taken the decimal values that are contained in the case selection statements
and put them into a table with a unique rowid, where the unique rowid is a
userid. How can I access these table values from the report function call
that was originally used to obtain the decimal value in each of the case
selection statement?
The reason for wanting to do this, each time a calculation value changes, I
have to get into the module, make the hard code changes, then redistribute
the application front end. In my new method, the decimal calculation values
are maintained in a table and the user can access the table to change a
desired value. When the report fires, the decimal value is obtained from
the table by way of the function call and unique rowid, which represents the
userid.
The report has a query as a main datasource. Within the report detail area,
two textboxes exists that have calls to the described functions.
Any hint of a direction would be of value here so I could at least begin to
experiment how this is accomplished.
Thank you and if this is not clear of what I ask, I can try to explain in
more detail.