Web Images Videos Maps News Groups Gmail more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Selecting and Printing Specific Records
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  Messages 1 - 25 of 32 - Collapse all  -  Translate all to Translated (View all originals)   Newer >
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
HankL  
View profile  
 More options Nov 1, 6:31 am
Newsgroups: microsoft.public.access
From: "HankL" <hlas...@bendbroadband.com>
Date: Sat, 31 Oct 2009 12:31:12 -0700
Local: Sun, Nov 1 2009 6:31 am
Subject: Selecting and Printing Specific Records
Access 2003

 Is there a way that I can select specific records from a database to print
out specific columns for those records?
 As an example,  I have a database of restaurants.  I want to select
 certain restaurants in that database to print out on a sheet of paper for a
 friend.

Thank you in advance for your support and suggestions,

HankL


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Al Campagna  
View profile  
 More options Nov 1, 7:05 am
Newsgroups: microsoft.public.access
From: "Al Campagna" <newsgro...@comcast.net>
Date: Sat, 31 Oct 2009 16:05:00 -0400
Subject: Re: Selecting and Printing Specific Records
HankL,
    Many ways to do that...
    If there's no "logical" restaurant selection for printing
(ex. by district, or by city, etc...) think about adding a PrintMe checkbox
field
to your restaurant table.
    Set any restaurant record you want printed to chkPrintMe = True, and
have
the reports query use chkPrintMe = True as a criteria to filter the report.

    Or use the OpenReport Where argument...
        DoCmd.OpenReport "YourRpt", acViewPreview, , "chkPrintMe = True"

    Note: you can create a couple of update queries that can run by button
to...
        Set All chkPrintMe to False
        Set All chkPrintMe to True
--
    hth
    Al Campagna
    Microsoft Access MVP
    http://home.comcast.net/~cccsolutions/index.html

    "Find a job that you love... and you'll never work a day in your life."

"HankL" <hlas...@bendbroadband.com> wrote in message

news:uQtV1CmWKHA.4588@TK2MSFTNGP04.phx.gbl...


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
HankL  
View profile  
 More options Nov 2, 2:24 pm
Newsgroups: microsoft.public.access
From: "HankL" <hlas...@bendbroadband.com>
Date: Sun, 1 Nov 2009 19:24:12 -0800
Local: Mon, Nov 2 2009 2:24 pm
Subject: Re: Selecting and Printing Specific Records
Hello Al,

Thank you very much for your reply.  I just want you to know, that I am a
novice at using Access.  I am sorry but I cannot follow your suggestion in
setting up my Restaurant database to include PrintMe..
Your suggestion is an excellent idea and probably is exactly what I need to
be able to select certain restaurants to include on a list to print specific
fields..   'I went into Design after opening the table and inserted a
checkbox column called PrintME
However I do not know how to 'Set any restaurant record I want printed to
'chkPrintME=True, and have the reports query use chkPrintMe=True as a
criteria to filter the report.'
I would appreciate step x step instructions as to how to accomplish this.
Also, can I just select certain fields such as Restaurant Name, Address,
Telephone number?I
I  truly appreciate you taking the time to help me and please forgive my
lack of knowledge in being able to follow your original solution.

Thank you,

HankL

"Al Campagna" <newsgro...@comcast.net> wrote in message

news:OaZruVmWKHA.4780@TK2MSFTNGP05.phx.gbl...


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Al Campagna  
View profile  
 More options Nov 3, 1:49 am
Newsgroups: microsoft.public.access
From: "Al Campagna" <newsgro...@comcast.net>
Date: Mon, 2 Nov 2009 09:49:08 -0500
Local: Tues, Nov 3 2009 1:49 am
Subject: Re: Selecting and Printing Specific Records
Hank,
    Sounds like you added a Boolean field named PrintMe (True/False) to
your Restaurant table.

    Now, this checking/unchecking of PrintMe is best done using a continous
form, so
you can see as many Restaurants as possible, as you browse and check
PrintMe.
You can do Single Form, but you'll have to...
    Find Record and check... find record and check... etc
which can be a bit time consuming.

    OK... now make sure that PrintMe is included in the query behind your
form, and
add a check control to the form itself... and bind it (Control Source) to
the PrintMe field,
and name it chkPrintMe.

    Just to get this going, use my second suggestion... (the better one for
several reasons).
    On a button on your form... using it's OnClick event code...

        Refresh
        DoCmd.OpenReport "YourRpt", acViewPreview, , "chkPrintMe = True"

    Let's see if we can just get to this point, and then we can move on to
other aspects of
this method.
--
    hth
    Al Campagna
    Microsoft Access MVP
    http://home.comcast.net/~cccsolutions/index.html

    "Find a job that you love... and you'll never work a day in your life."

"HankL" <hlas...@bendbroadband.com> wrote in message

news:%23AG03v2WKHA.508@TK2MSFTNGP06.phx.gbl...


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Al Campagna  
View profile  
 More options Nov 6, 12:24 am
Newsgroups: microsoft.public.access
From: "Al Campagna" <newsgro...@comcast.net>
Date: Thu, 5 Nov 2009 08:24:01 -0500
Local: Fri, Nov 6 2009 12:24 am
Subject: Re: Selecting and Printing Specific Records
Hank,
    Other than a through Google web search (which yields 100s of hits), and
an Google Access Groups
search (below)...
         http://tinyurl.com/ylav9jp
    You'll have better luck if you create a new post for this particular
question.
    Buried within an unrelated ongoing thread... not too many folks will see
it.
--
    hth
    Al Campagna
    Microsoft Access MVP
    http://home.comcast.net/~cccsolutions/index.html

    "Find a job that you love... and you'll never work a day in your life."

"HankL" <hlas...@bendbroadband.com> wrote in message

news:egM$2LdXKHA.3676@TK2MSFTNGP05.phx.gbl...


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
HankL  
View profile  
 More options Nov 8, 11:44 am
Newsgroups: microsoft.public.access
From: "HankL" <hlas...@bendbroadband.com>
Date: Sat, 7 Nov 2009 16:44:10 -0800
Local: Sun, Nov 8 2009 11:44 am
Subject: Re: Selecting and Printing Specific Records
Hi Al,

Actually I added a new field called PRINTME next to the name of the
restaurant in the table format.  In Design View of my table, the data type
is YES/NO.  I attempted to put a check mark next to several restaurants and
it accepts the check mark.

I am a little confused by several suggestions you made.

1)  Now, this checking/unchecking of PrintMe is best done using a continuous

> form, I AM NOT SURE WHAT YOU MEAN BY USING A CONTINUOUS FORM.  I assume it
> is like using the TABLE.

2)    OK... now make sure that PrintMe is included in the query behind your

> form, and
> add a check control to the form itself... and bind it (Control Source) to
> the PrintMe field,
> and name it chkPrintMe.  THIS NUMBER 2 IS A LITTLE CONFUSING TO ME AS
> WELL.

Basically, I am not sure if I should be setting this up in TABLE OR USE A
QUERY?

"Al Campagna" <newsgro...@comcast.net> wrote in message

news:%23A%23xiu8WKHA.5208@TK2MSFTNGP05.phx.gbl...


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
John W. Vinson  
View profile  
 More options Nov 8, 1:06 pm
Newsgroups: microsoft.public.access
From: John W. Vinson <jvinson@STOP_SPAM.WysardOfInfo.com>
Date: Sat, 07 Nov 2009 19:06:55 -0700
Local: Sun, Nov 8 2009 1:06 pm
Subject: Re: Selecting and Printing Specific Records

Neither.

Tables store data... under the hood, unexposed to user view or interaction.
Queries arrange, select and sort data... under the hood, unexposed to user
view or interaction.

In a professional database, users will essentially NEVER see a table or query
datasheet; all interaction with data should be via a Form.

A form can be in one of three "default views" - Single Form (showing one
record onscreen); Datasheet, showing what looks like a table or a spreadsheet;
or Continuous Form, showing controls like those on a single form (combo boxes,
textboxes, option groups, etc.) repeatedly.

Al's suggesting the latter.
--

             John W. Vinson [MVP]


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
HankL  
View profile  
 More options Nov 8, 2:08 pm
Newsgroups: microsoft.public.access
From: "HankL" <hlas...@bendbroadband.com>
Date: Sat, 7 Nov 2009 19:08:54 -0800
Local: Sun, Nov 8 2009 2:08 pm
Subject: Re: Selecting and Printing Specific Records
Hello John,

Thanks for your response.

I am a novice using Access.

I do have a data base setup for Restaurants.
When I opened Forms it is in a single form view.  I went into Design and
clicked on square were both rulers meet.  I selected Continuous Forms and
saved it.  However when I open the Forms it still shows it in a Single View.
Any suggestions to be able to see it in continuous view?

Thanks in advance for your support.

HankL
"John W. Vinson" <jvinson@STOP_SPAM.WysardOfInfo.com> wrote in message
news:un9cf51jah1fljf864n83c0ulumdja83mk@4ax.com...


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
John W. Vinson  
View profile  
 More options Nov 8, 2:50 pm
Newsgroups: microsoft.public.access
From: John W. Vinson <jvinson@STOP_SPAM.WysardOfInfo.com>
Date: Sat, 07 Nov 2009 20:50:25 -0700
Local: Sun, Nov 8 2009 2:50 pm
Subject: Re: Selecting and Printing Specific Records

On Sat, 7 Nov 2009 19:08:54 -0800, "HankL" <hlas...@bendbroadband.com> wrote:
>When I opened Forms it is in a single form view.  I went into Design and
>clicked on square were both rulers meet.  I selected Continuous Forms and
>saved it.  However when I open the Forms it still shows it in a Single View.
>Any suggestions to be able to see it in continuous view?

You probably need to rearrange the controls on the form. Drag the controls up
to the top edge of the detail area of the form, side by side - you can use one
or two rows if you wish, but if you want to see multiple records onscreen they
should occupy only a small vertical height. Then drag the bottom of the detail
area up to the bottom of the controls. Save the form; when you open it in data
view you should see mulitple records (as many records as fit the recordsource
criteria, anyway).

For an example take a look at the Orders form in the Northwind sample database
- the items ordered are in a continuous form.
--

             John W. Vinson [MVP]


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
HankL  
View profile  
 More options Nov 9, 8:53 am
Newsgroups: microsoft.public.access
From: "HankL" <hlas...@bendbroadband.com>
Date: Sun, 8 Nov 2009 13:53:09 -0800
Local: Mon, Nov 9 2009 8:53 am
Subject: Re: Selecting and Printing Specific Records
Hi John,

I attempted to rearrange the controls in Design View of the Form.  That did
not change the appearance of the form.  However, I now have a scroll bar on
the side of the form and allows me to scroll from one record to another in
alphabetical order.  Could this also be considered as a Continuous Form?

If so, could you help me with the instructions as to how to setup a PRINTME
check box on the form so that I can select which record will be printed.

As an example I have 126 records in the Restaurant.mdb. database. Suppose I
only want to print out 8 of this restaurants on a single sheet of paper as a
report.

Also, I setup a dummy .mdb called Test.mdb.  This was setup as a continuous
form from a table.  The appearance is exactly as you describe in your
suggestion of the Northwest Sample Database.  My Test database only has 3
fields.

I truly appreciate your assistance and support as I know it is time
consuming for you.  I would really like to get this issue resolved so that I
can print out information from my Restaurant database as I need it.

HankL

"John W. Vinson" <jvinson@STOP_SPAM.WysardOfInfo.com> wrote in message
news:8rfcf5d6i563cjtbses5g4hmuc4vi7tpfe@4ax.com...


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
John W. Vinson  
View profile  
 More options Nov 9, 9:56 am
Newsgroups: microsoft.public.access
From: John W. Vinson <jvinson@STOP_SPAM.WysardOfInfo.com>
Date: Sun, 08 Nov 2009 15:56:59 -0700
Local: Mon, Nov 9 2009 9:56 am
Subject: Re: Selecting and Printing Specific Records

On Sun, 8 Nov 2009 13:53:09 -0800, "HankL" <hlas...@bendbroadband.com> wrote:
>Hi John,

>I attempted to rearrange the controls in Design View of the Form.  That did
>not change the appearance of the form.  However, I now have a scroll bar on
>the side of the form and allows me to scroll from one record to another in
>alphabetical order.  Could this also be considered as a Continuous Form?

It almost certainly is. You should be able to rearrange the controls on the
form to show more than one record at a time. However, since I cannot see your
form, do not know how the controls are arranged, and do not know what you have
tried - and since it's primarily a visual problem, not a text one - I'm rather
at a loss to describe how to do so, any better than I have already done! In
design view, have you shrunk the form window up to the bottom of the controls
so it's wide and short?

>If so, could you help me with the instructions as to how to setup a PRINTME
>check box on the form so that I can select which record will be printed.

You ***CANNOT*** set up a PRINTME checkbox ***ON A FORM*** to do this.

A Form does not store data. A checkbox on a form does not - by itself - store
data. You need more!

What you can do is to add a PrintMe Yes/No field ***TO YOUR TABLE***. Adjust
the form's Recordsource query, if necessary, to include this field, and put a
checkbox on the form.

>As an example I have 126 records in the Restaurant.mdb. database. Suppose I
>only want to print out 8 of this restaurants on a single sheet of paper as a
>report.

Using the form to edit the records, check whichever records you want to print.

Create a Query based on the table with a criterion of True on the field
Printme.

Create a Report (reports are for printing, forms are for onscreen display)
based on this query.

After you have printed the results, run an Update query updating the table
setting PrintMe back to False (so it won't keep printing the same eight
records over and over).

>Also, I setup a dummy .mdb called Test.mdb.  This was setup as a continuous
>form from a table.  The appearance is exactly as you describe in your
>suggestion of the Northwest Sample Database.  My Test database only has 3
>fields.

Then fix your real form to resemble TEST.MDB. I don't know what you did
differently, presumably you do!

>I truly appreciate your assistance and support as I know it is time
>consuming for you.  I would really like to get this issue resolved so that I
>can print out information from my Restaurant database as I need it.

--

             John W. Vinson [MVP]


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
HankL  
View profile  
 More options Nov 10, 12:31 pm
Newsgroups: microsoft.public.access
From: "HankL" <hlas...@bendbroadband.com>
Date: Mon, 9 Nov 2009 17:31:49 -0800
Local: Tues, Nov 10 2009 12:31 pm
Subject: Re: Selecting and Printing Specific Records
My forms are now in Continuous Form

I do have a PRINT ME checkbox field included in my Table.  However, the
PRINT ME FIELD does not show on my FORM.
Thank you for your continued support,

Hank


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
John W. Vinson  
View profile  
 More options Nov 10, 12:56 pm
Newsgroups: microsoft.public.access
From: John W. Vinson <jvinson@STOP_SPAM.WysardOfInfo.com>
Date: Mon, 09 Nov 2009 18:56:07 -0700
Local: Tues, Nov 10 2009 12:56 pm
Subject: Re: Selecting and Printing Specific Records

On Mon, 9 Nov 2009 17:37:21 -0800, "HankL" <hlas...@bendbroadband.com> wrote:
>My forms are now in Continuous Form

>I do have a PRINTME checkbox field included in my TABLE.  However, the
>PRINTME FIELD does not show on my FORM.

Open the Form in design view.
View its Properties.
Click the ... icon by the Recordsource property and open the recordsource in
query design view.
Add the PRINTME field to the Recordsource.
Use the toolbar or the field list to add a checkbox to the form bound to the
PRINTME field, or if there is a checkbox, set its Control Source property to
the name of the field.

>IPlease review the attached and perhaps with these pictures you can help me
>setup so that I can print SELECTED  restaurants in a report

>I have some more .jpg pictures I want to send but I keep getting messages
>file is to large

Binary attachments are unwelcome and inappropriate in this text based
newsgroup.

>If you could send me your e-mail address I could send those picture directly
>via your e-mail

Sorry, I'm an unpaid volunteer donating my time on these newsgroups. To
control my time investment I must limit private email support to paying
customers.
--

             John W. Vinson [MVP]


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "Selecting and Printing Specific Records Additional Picture" by John W. Vinson
John W. Vinson  
View profile  
 More options Nov 10, 1:04 pm
Newsgroups: microsoft.public.access
From: John W. Vinson <jvinson@STOP_SPAM.WysardOfInfo.com>
Date: Mon, 09 Nov 2009 19:04:27 -0700
Local: Tues, Nov 10 2009 1:04 pm
Subject: Re: Selecting and Printing Specific Records Additional Picture

On Mon, 9 Nov 2009 17:43:33 -0800, "HankL" <hlas...@bendbroadband.com> wrote:

>See attachment

Hank, *please do not attach pictures to newsgroup messages*.

This is a TEXT ONLY newsgroup. In point of fact, your pictures provide
absolutely nothing helpful to solving your problem. Posting a few  lines of
SQL showing the Recordsource of your form would have taken up 500 bytes
instead of 50000, and provided useful information.

--

             John W. Vinson [MVP]


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
HankL  
View profile  
 More options Nov 10, 1:45 pm
Newsgroups: microsoft.public.access
From: "HankL" <hlas...@bendbroadband.com>
Date: Mon, 9 Nov 2009 18:45:53 -0800
Local: Tues, Nov 10 2009 1:45 pm
Subject: Re: Selecting and Printing Specific Records Additional Picture
Sorry John,

I was not aware that pictures was not permitted in newsgroups.  In the
future I will not send any. Thanks for the information.
I misunderstood when the verbiage in your response seemed to me that if you
could see my forms or tables that it would give you a better indication of
my concerns.
Please except my apologies.

Hank
"John W. Vinson" <jvinson@STOP_SPAM.WysardOfInfo.com> wrote in message
news:sdihf5h924v9vf7fsfdseosu5josvbs38d@4ax.com...


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Al Campagna  
View profile  
 More options Nov 11, 1:07 am
Newsgroups: microsoft.public.access
From: "Al Campagna" <newsgro...@comcast.net>
Date: Tue, 10 Nov 2009 09:07:00 -0500
Subject: Re: Selecting and Printing Specific Records Additional Picture
Hank,
    Have you added the new True/False field named PrintMe to
your form yet?     (following John Vinson's instructions)

    Even though you have set the form's Default View to Continuous,
because your form is large (vertically), you still may only see one
record at a time, on your screen.

    So... for now... you'll need to go to a specific record, check the
PrintMe
to True, go to another record and set PrintMe to True, etc... etc...  When
done printing, you'll need to go back and uncheck all the selected
restaurants.
    *Don't be concerned by that right now. *  We'll get the system working
"manually" to start, and then add conveniences later on.
--
    hth
    Al Campagna
    Microsoft Access MVP
    http://home.comcast.net/~cccsolutions/index.html

    "Find a job that you love... and you'll never work a day in your life."

"HankL" <hlas...@bendbroadband.com> wrote in message

news:OCNls$aYKHA.4992@TK2MSFTNGP02.phx.gbl...


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "Selecting and Printing Specific Records" by HankL
HankL  
View profile  
 More options Nov 11, 1:26 am
Newsgroups: microsoft.public.access
From: "HankL" <hlas...@bendbroadband.com>
Date: Tue, 10 Nov 2009 06:26:46 -0800
Local: Wed, Nov 11 2009 1:26 am
Subject: Re: Selecting and Printing Specific Records
John,

At the present time, I have the following setup:

1) A continuous form.  I can see two records at one time and when I click on
the arrow it continues to scroll through my database
2) I have a PrintME yes/no checkbox on my table and it is on the form as
well.  If I select the checkbox for YES in the table, it also puts a check
in the box on the form
3) I have set up a query
4) I have set up a report

Even if I put a check in various records and I open the report, I see all of
the 126 records rather than only the records with a check in the box

I believe that I am missing a step or filter in the query that will allow me
to only see the records I have checked off.

Please advise.

Thank you,

Hank

"John W. Vinson" <jvinson@STOP_SPAM.WysardOfInfo.com> wrote in message
news:hpief5d06mud9ug45hv4gba124ojkdr7d6@4ax.com...


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "Selecting and Printing Specific Records Additional Picture" by HankL
HankL  
View profile  
 More options Nov 11, 2:26 am
Newsgroups: microsoft.public.access
From: "HankL" <hlas...@bendbroadband.com>
Date: Tue, 10 Nov 2009 07:26:24 -0800
Local: Wed, Nov 11 2009 2:26 am
Subject: Re: Selecting and Printing Specific Records Additional Picture
Hi Al,

This is where I am now
At the present time, I have the following setup:

1) A continuous form.  I can see two records at one time and when I click on
the arrow it continues to scroll through my database
2) I have a PrintME yes/no checkbox on my table and it is on the form as
well.  If I select the checkbox for YES in the table, it also puts a check
in the box on the form
3) I have set up a query
4) I have set up a report

Even if I put a check in various records and I open the report, I see all of
the 126 records rather than only the records with a check in the box

I believe that I am missing a step or filter in the query that will allow me
to only see the records I have checked off.

Please advise.

"Al Campagna" <newsgro...@comcast.net> wrote in message

news:O78uT8gYKHA.4932@TK2MSFTNGP02.phx.gbl...


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "Selecting and Printing Specific Records" by John W. Vinson
John W. Vinson  
View profile  
 More options Nov 11, 3:47 am
Newsgroups: microsoft.public.access
From: John W. Vinson <jvinson@STOP_SPAM.WysardOfInfo.com>
Date: Tue, 10 Nov 2009 09:47:31 -0700
Local: Wed, Nov 11 2009 3:47 am
Subject: Re: Selecting and Printing Specific Records

The Query upon which the report is based is probably at fault. It should have
a criterion of True on the PrintME field.

If you're having trouble with the query, open it in design view; select
View... SQL; and copy and paste the SQL text to a message here.
--

             John W. Vinson [MVP]


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
HankL  
View profile  
 More options Nov 11, 5:29 am
Newsgroups: microsoft.public.access
From: "HankL" <hlas...@bendbroadband.com>
Date: Tue, 10 Nov 2009 10:29:55 -0800
Local: Wed, Nov 11 2009 5:29 am
Subject: Re: Selecting and Printing Specific Records
That did it.  I can't tell you how much I appreciate your patience and
working with me to help setup my being able to select and print a report
just on the restaurants I need to print.
You have really given me a much better understanding of how Access works
using the databases.

John,  I do have one more question.  Is there a way that I could set up
something that after I print out the report I can select a button to delete
all of the check marks in my table at one time?

Many many thanks,

Hank

"John W. Vinson" <jvinson@STOP_SPAM.WysardOfInfo.com> wrote in message
news:756jf51utupqgq7tmqnu0n11d3n647csfq@4ax.com...


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Al Campagna  
View profile  
 More options Nov 11, 6:48 am
Newsgroups: microsoft.public.access
From: "Al Campagna" <newsgro...@comcast.net>
Date: Tue, 10 Nov 2009 14:48:25 -0500
Local: Wed, Nov 11 2009 6:48 am
Subject: Re: Selecting and Printing Specific Records
Hank,
    When I spoke of adding "conveniences" once we got the basic
system working... this is one of them.
    You might want two buttons on your form...
    One button named cmdPrintAll and another named cmdPrintNone

    Create two "Update" queries against your Restaurant table.
    cmdPrintAll - will run qryPrintAll , that sets the PrintMe for every
Restaurant record to
True.
    cmdPrintNone - will run qryPrintNone , that sets the PrintMe for every
Restaurant record to
False.
--
    hth
    Al Campagna
    Microsoft Access MVP
    http://home.comcast.net/~cccsolutions/index.html

    "Find a job that you love... and you'll never work a day in your life."

"HankL" <hlas...@bendbroadband.com> wrote in message

news:e8sfMPjYKHA.3456@TK2MSFTNGP02.phx.gbl...


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
HankL  
View profile  
 More options Nov 11, 9:25 am
Newsgroups: microsoft.public.access
From: "HankL" <hlas...@bendbroadband.com>
Date: Tue, 10 Nov 2009 14:25:56 -0800
Local: Wed, Nov 11 2009 9:25 am
Subject: Re: Selecting and Printing Specific Records
Al,

I am a little lost as to how to create the two button on the form
I feel I do not know how to do the following and if you could give me step
by step instructions I certainly would appreciate it.
I don't want to screw up my present configuration because of lack of
knowledge

'Create two "Update" queries against your Restaurant table.

1) cmdPrintAll - will run qryPrintAll , that sets the PrintMe for every
Restaurant record to  True.

2) cmdPrintNone - will run qryPrintNone , that sets the PrintMe for every

> Restaurant record to False.'

Are these steps to be done in the TABLE AS FIELDS or in the     QUERY DESIGN
SECTION ?

Thank you,

Hank

"Al Campagna" <newsgro...@comcast.net> wrote in message

news:uW8ZF7jYKHA.1648@TK2MSFTNGP05.phx.gbl...


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
John Vinson  
View profile  
 More options Nov 11, 2:25 pm
Newsgroups: microsoft.public.access
From: John Vinson <jvinson@STOP_SPAM.WysardOfInfo.com>
Date: Tue, 10 Nov 2009 19:25:09 -0800
Local: Wed, Nov 11 2009 2:25 pm
Subject: Re: Selecting and Printing Specific Records

"HankL" wrote:
> That did it.  I can't tell you how much I appreciate your patience and
> working with me to help setup my being able to select and print a report
> just on the restaurants I need to print.
> You have really given me a much better understanding of how Access works
> using the databases.

You're most welcome! Glad you were able to get it worked out.

> John,  I do have one more question.  Is there a way that I could set up
> something that after I print out the report I can select a button to delete
> all of the check marks in my table at one time?

Yes. Create a Query in the query design window, qryResetPrint let's call it.
Base it on your table; select only the PrintMe field.

Put a criterion of True on the field. Change the query to an Update query
using the Query menu option. On the newly visible "Update To" line put False.

Save the query.

In your form, use the command button wizard to create a command button to
run this query (running a query will be one of the wizard options).

--
                  John W. Vinson[MVP]    


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Al Campagna  
View profile  
 More options Nov 11, 2:43 pm
Newsgroups: microsoft.public.access
From: "Al Campagna" <newsgro...@comcast.net>
Date: Tue, 10 Nov 2009 22:43:36 -0500
Local: Wed, Nov 11 2009 2:43 pm
Subject: Re: Selecting and Printing Specific Records

"HankL" <hlas...@bendbroadband.com> wrote in message

news:eNWlFTlYKHA.5144@TK2MSFTNGP05.phx.gbl...


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Al Campagna  
View profile  
 More options Nov 11, 3:02 pm
Newsgroups: microsoft.public.access
From: "Al Campagna" <newsgro...@comcast.net>
Date: Tue, 10 Nov 2009 23:02:32 -0500
Local: Wed, Nov 11 2009 3:02 pm
Subject: Re: Selecting and Printing Specific Records
Hank,
    Well, you should know how to physically place two buttons on a form.
    Each of those buttons will have an OnClick event.
    That's where the code will go that will run the appropriate update
queries.

    An Update query is a query one that alters data in a table, according to
user specified
criteria, with user defined values.

    Go to Help, or any documentation you have, and read up on creating
Update
queries... how to create them, and how to use the query to alter values in a
table.
An Update query is an essential tool to know about.

qryPrintNone: Sets all PrintMe to False...
    UPDATE tblRestaurant SET tblRestaurant.PrintMe = False;

qryPrintAll: Sets all PrintMe to True...
    UPDATE tblRestaurant SET tblRestaurant.PrintMe = True;
--
    hth
    Al Campagna
    Microsoft Access MVP
    http://home.comcast.net/~cccsolutions/index.html

    "Find a job that you love... and you'll never work a day in your life."

"HankL" <hlas...@bendbroadband.com> wrote in message

news:eNWlFTlYKHA.5144@TK2MSFTNGP05.phx.gbl...


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Messages 1 - 25 of 32   Newer >
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google