473,468 Members | 1,479 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Trying to get info from form to a report

I have searched the boards but I have not found what I am looking for
yet.

I have a form with two combo boxes. When the user makes a selection
in both of the combo boxes the information will look through two
tables and return the appropriate matches. This will be very small
scale at the beginning but once I get everything working it will
include more tables and dozens of matches to be returned.

I would like the information to print to a report and not on the form.
I do not understand how to get the information into a report however.
I have seen some posts mentioning going through a query first but
again I do not understand how to do that also. The user will have
access to nothing but the form which will have a few command buttons
on it.

I am trying to teach myself Access so any help here would be greatly
appreciated. If you could reply with an example that would be even
better.

Thanks for the help.
Nov 12 '05 #1
4 1625
Design a report and place a text box on the report for each control that's
on your form. Now set the Control Source of each text box to a control on
your form like this(replace MyForm and MyControl with names of your form and
controls):

=[Forms]![MyForm]![MyControl]

Now select the info on your form and I assume you will place a command
button on your form to open the report. The form has to remain open for
this to work.
--
Reggie

www.smittysinet.com
----------
"Alex" <ab*****@verizon.net> wrote in message
news:7a*************************@posting.google.co m...
I have searched the boards but I have not found what I am looking for
yet.

I have a form with two combo boxes. When the user makes a selection
in both of the combo boxes the information will look through two
tables and return the appropriate matches. This will be very small
scale at the beginning but once I get everything working it will
include more tables and dozens of matches to be returned.

I would like the information to print to a report and not on the form.
I do not understand how to get the information into a report however.
I have seen some posts mentioning going through a query first but
again I do not understand how to do that also. The user will have
access to nothing but the form which will have a few command buttons
on it.

I am trying to teach myself Access so any help here would be greatly
appreciated. If you could reply with an example that would be even
better.

Thanks for the help.

Nov 12 '05 #2
Hi Alex,

Given that you're trying to learn Access you might add
microsoft.public.access.gettingstarted to your list of newsgroups.
Tablesdesign is another good one for getting going.

I'm not entirely clear about where and how the "appropriate matches" you
referenced below are being returned.

One way or another you'd want the query on which the REPORT is based to have
the same criteria. So, in the QBE grid for the relevant fields in the
query for the REPORT, have each criteria refer back to it's combobox on the
form (which must still be open). Since they're comboboxes, you'll be
getting the bound column value by default. You can explicitly choose a
different column if necessary: forms!MyForm!MyCbo.column(n)

HTH
--
-Larry-
--

"Alex" <ab*****@verizon.net> wrote in message
news:7a*************************@posting.google.co m...
I have searched the boards but I have not found what I am looking for
yet.

I have a form with two combo boxes. When the user makes a selection
in both of the combo boxes the information will look through two
tables and return the appropriate matches. This will be very small
scale at the beginning but once I get everything working it will
include more tables and dozens of matches to be returned.

I would like the information to print to a report and not on the form.
I do not understand how to get the information into a report however.
I have seen some posts mentioning going through a query first but
again I do not understand how to do that also. The user will have
access to nothing but the form which will have a few command buttons
on it.

I am trying to teach myself Access so any help here would be greatly
appreciated. If you could reply with an example that would be even
better.

Thanks for the help.

Nov 12 '05 #3
I would like to say thanks for the replies that I have recieved. I
believe I am good to go now. I have done a few quick tests with the
replies that I got and so far it looks great.

I'd like to thank Reggie for explaining the response the way that it
is (if some of the books that I have only did the same I wouldn't need
to post for help)

Alex
ab*****@verizon.net (Alex) wrote in message news:<7a*************************@posting.google.c om>...
I have searched the boards but I have not found what I am looking for
yet.

I have a form with two combo boxes. When the user makes a selection
in both of the combo boxes the information will look through two
tables and return the appropriate matches. This will be very small
scale at the beginning but once I get everything working it will
include more tables and dozens of matches to be returned.

I would like the information to print to a report and not on the form.
I do not understand how to get the information into a report however.
I have seen some posts mentioning going through a query first but
again I do not understand how to do that also. The user will have
access to nothing but the form which will have a few command buttons
on it.

I am trying to teach myself Access so any help here would be greatly
appreciated. If you could reply with an example that would be even
better.

Thanks for the help.

Nov 12 '05 #4
Alex, These news groups have helped me out many, many times. Anytime I can
help someone else in any way, it's my pleasure.

--
Reggie

www.smittysinet.com
----------
"Alex" <ab*****@verizon.net> wrote in message
news:7a*************************@posting.google.co m...
I would like to say thanks for the replies that I have recieved. I
believe I am good to go now. I have done a few quick tests with the
replies that I got and so far it looks great.

I'd like to thank Reggie for explaining the response the way that it
is (if some of the books that I have only did the same I wouldn't need
to post for help)

Alex
ab*****@verizon.net (Alex) wrote in message

news:<7a*************************@posting.google.c om>...
I have searched the boards but I have not found what I am looking for
yet.

I have a form with two combo boxes. When the user makes a selection
in both of the combo boxes the information will look through two
tables and return the appropriate matches. This will be very small
scale at the beginning but once I get everything working it will
include more tables and dozens of matches to be returned.

I would like the information to print to a report and not on the form.
I do not understand how to get the information into a report however.
I have seen some posts mentioning going through a query first but
again I do not understand how to do that also. The user will have
access to nothing but the form which will have a few command buttons
on it.

I am trying to teach myself Access so any help here would be greatly
appreciated. If you could reply with an example that would be even
better.

Thanks for the help.

Nov 12 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

11
by: HolaGoogle | last post by:
hi all, can you please tell me what i should do to avoid session timeout when displaying my database info in my asp form (DisplayUserDatabase.asp)??? ** actualy it does load and display the...
2
by: Catherine Jo Morgan | last post by:
How do you set up a form or report so that it's possible to click on a field and see more details? This is a feature in most accounting programs, for example. In a profit and loss report, you can...
4
by: Wayne | last post by:
rr@kristin.school.nz (Wayne) wrote in message news:<7ec36840.0403301824.16f2cd9f@posting.google.com>... > I have a subreport in my report and when it contains exactly one row, > it works fine. In...
14
by: deercreek | last post by:
Could use some help. I don't know if I can even do whatI'm trying to do. I have a text box in a report under the details section. It will return a value for each line on a sepcific record set....
8
by: Christina123 | last post by:
Currently working with Microsoft Office 2000 and whatever version of Access came with that. I am developing a database to track the comings and goings of shared tools. Everything works...
3
by: gmazza via AccessMonster.com | last post by:
Hi there, I am trying to run a report using a parameter for where the user chooses a month from a combo box. Then on the report, I want it to compare the month to a date field and choose only...
5
by: Christina123 | last post by:
I have a database that tracks the withdrawls and returns of shared assets. I have a query that a report runs off of that is supposed to only show the most current withdrawl (based off of a yes/no...
7
by: mulchgirl | last post by:
When we have one of our users is entering info into a table via a form and another user attempts to print a report based on the same table, they get the message "the databaase engine could not lock...
9
by: sparks | last post by:
Right now I had to build a report that allowed the people to check for gross outliers in their data input. short I am looking at 2.5* std dev + - anyway I used 2 dummy variables in the query the...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.