Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Reports / Printing / October 2005

Tip: Looking for answers? Try searching our database.

Very lost on how to make this report

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Neill Silva - 06 Oct 2005 21:55 GMT
I want to search my tblCustomers for all customers in a specific state or
city (that much I can do) and then "check off boxes" (?) of the ones I want
to visit. Then print a report with just those checked. I also want to save
the information for future reference but, I'm not sure a.) if I have to
create a new table to store this info or could I just save a snap shot of the
report, b.) do I just add a feild in my Customers for "print" and if so how
would I save each visit for reference and clear the feilds for the next visit
report. This may be simple and I'm looking at it all wrong. I've tried to
look for examples but I don't even know how to ask the question in a simple
search. Any help on this would really, REALLY be appreciated.
Thanks!
Allen Browne - 07 Oct 2005 05:29 GMT
If all you want is to be able to pick customers for the report without
keeping a permanent record of who was picked when, the yes, add a yes/no
field to your table to you can click the records you want. You can then
create a query where this field is True, and use is as the Record Source for
your report.

You probably want a button on your form to reset all boxes to Off again. If
so the event procedure would look like this:
   Private Sub cmdResetAll_Click()
       Dim strSql As String
       If Me.Dirty Then Me.Dirty = False    'Save any changes first.
       strSql = "UPDATE Customers SET IsPicked = False WHERE IsPicked =
True;"
       dbEngine(0)(0).Execute strSql, dbFailOnError
   End Sub

If you want to keep track of who was picked when, you will need another
table with fields like this:
   CustomerID    relates to the primary key of your Customers table.
   PickDate         date/time field, with Default Value set to:  =Date()

You can add records to this table, and then create a query joining this and
the Customers table, with Criteria on the PickDate field to limit it to
those picked on a particular date.

Signature

Allen Browne - Microsoft MVP.  Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

>I want to search my tblCustomers for all customers in a specific state or
> city (that much I can do) and then "check off boxes" (?) of the ones I
[quoted text clipped - 12 lines]
> search. Any help on this would really, REALLY be appreciated.
> Thanks!
Neill Silva - 07 Oct 2005 13:20 GMT
Thank you for responding Allen. I think I understand now!? I'll give it a try
and reply later. Thanks again!

Neill

> If all you want is to be able to pick customers for the report without
> keeping a permanent record of who was picked when, the yes, add a yes/no
[quoted text clipped - 37 lines]
> > search. Any help on this would really, REALLY be appreciated.
> > Thanks!
PC Datasheet - 07 Oct 2005 20:14 GMT
Neil,

Along the lines of what you are trying to do, I have a calendar report
module that shows sales calls for any month you select in the calendar. I
could implement this in your database for you for a very reasonable fee. If
you are interested, contact me at my email address below and I will send you
a screen shot of the calendar report.

Signature

                                       PC Datasheet
Your Resource For Help With Access, Excel And Word Applications
                             resource@pcdatasheet.com
                                www.pcdatasheet.com

>I want to search my tblCustomers for all customers in a specific state or
> city (that much I can do) and then "check off boxes" (?) of the ones I
[quoted text clipped - 12 lines]
> search. Any help on this would really, REALLY be appreciated.
> Thanks!
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.