AccessDiscussion of Microsoft Access database design and programming. See also the forums for Access ASP and Access VBA.
Welcome to the p2p.wrox.com Forums.
You are currently viewing the Access section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
I'm trying to find a way to show the results of several queries in a form and then a report. (I have a "laundry list" of "results" that I need to produce and want to put as many together as possible.
I tried txtTxtbox.text = docmd.runSQL " SELECT count[rest of statement goes here]"
and that did not work. Could someone point me in the right direction. The books I have here are on no help in the matter....
You could put a function in a module and then call the module. You might pass the PK from the detail section, and have the string returned by the function. So your On Format event for the detail section of the report would have: