G
Guest
I'm making a report with several different queries and each query needs to
populate data in several different controls after being analysed (which may
change frequently). Perhaps I need to do several SubReports. My problem is
though that I can't from VBA populate data into an unbound control. I can
call a function from the control and get the data back but I can't do it
without a call. In forms there's no problem using the RecordsetClone, analys
it and send the data to an unbound control but I can't do it in a Report. I
also have a problem using the recordset as a variable from the Main Function
to the analys function. Also something that's not a problem with the
RecordsetClone in a form. Can I have an unbound Report and keep all queries
as SQL statements in VBA?
I don't want to call the functions from the controls since that means I have
to change every control if something changes instead of just changing one
variable in the VBA code.
populate data in several different controls after being analysed (which may
change frequently). Perhaps I need to do several SubReports. My problem is
though that I can't from VBA populate data into an unbound control. I can
call a function from the control and get the data back but I can't do it
without a call. In forms there's no problem using the RecordsetClone, analys
it and send the data to an unbound control but I can't do it in a Report. I
also have a problem using the recordset as a variable from the Main Function
to the analys function. Also something that's not a problem with the
RecordsetClone in a form. Can I have an unbound Report and keep all queries
as SQL statements in VBA?
I don't want to call the functions from the controls since that means I have
to change every control if something changes instead of just changing one
variable in the VBA code.