Novice Report question

macattack

Registered User.
Local time
Yesterday, 22:30
Joined
Jan 5, 2013
Messages
35
Hi guys, I'm trying to make a report and I'm pretty much totally lost. I have multiple records I would like to show on a report. I have created a form to enable options (date range, serial number, word search). Given the options available, the number of records will be variable. If someone can point me in the direction of a guide I'd appreciate it.
 

Attachments

  • History.jpg
    History.jpg
    23.5 KB · Views: 94
  • Report.jpg
    Report.jpg
    44.2 KB · Views: 95
I appreciate the example but I don't think I explained what I was trying to do well enough. I need all records to show on one page (without cycling).

I played with it for a few more hours and got most of what I wanted. I'm able to query with all my search criteria except the "By Word", having some trouble with that one. Also, if I DON'T put values into the fields (such as SN or dates) the form won't load. Any ideas on how to fix that? Does it all have to be VBA or am I able to edit the SQL of the Query? It looks like I may have to throw in VBA on the report:

Code:
if chkboxSN.value = True then something about criteria = SN.value
 

Attachments

  • Report (2).jpg
    Report (2).jpg
    91 KB · Views: 91
macattack,

I have attached a text file that has some VBA code that hopefully will show you how to create the sql statement for filtering using values provided by the user from selections made from multiple controls.
 

Attachments

Users who are viewing this thread

Back
Top Bottom