Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Getwrows method

Status
Not open for further replies.

humpydumpy2000

IS-IT--Management
Aug 18, 2016
30
PH
Hi there, how can I use the getrows method in DAO to populate unbound textboxes in a report?
 
Can you give us some context as to why you are planning to use getrows in a report rather than simply binding records to a report as a Record Source?

Duane
Minnesota
Hook'D on Access
MS Access MVP 2001-2016
 
Even if staying unbounded, why getrows over other dao objects such as the fields collection of the recordset object?
 
I have two sets of data that needs to be displayed on a report, the first one will work nicely using a bound report however the other set of data needs to be displayed on the right corner first and last page of the report.
 
 http://files.engineering.com/getfile.aspx?folder=d6280673-849d-413e-8346-76217120d54b&file=Untitled.png
If I think to do that I would add a subform. Then make invisible on all pages except first and last. Stilll do not see any possible relation to getrows.
 
I think a subreport should work depending on if sections or multiple records from the main report would be overlayed by the second set of data. You could create a standard recordset and use the Me.Print method to place data anywhere you want on the page.

Duane
Minnesota
Hook'D on Access
MS Access MVP 2001-2016
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top