Go Back   PCMech Forums > Help & Discussion > Software Discussion & Support

Need Some Help? Type Your Keywords Here:

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 11-01-2006, 07:55 AM   #1
Member (6 bit)
 
Join Date: Jan 2006
Location: Hampshire
Posts: 45
Access query question

Its been about 6years since doing any database work and i didnt do any advance searches.

What I am trying to do is search information and make reports based on critera entered into a form!

So I have a search form setup to allow the user say enter the colour of the item. he can then if he wants choose the size of the item.

Then he clicks serch and a report is generated with all the items that are blue and in the size requested.

I know I need a query and report setup as well as the form! I have the form setup, but am unable to workout how to make the query use the information entered into the form for the search results!
stuartkeith is offline   Reply With Quote
Old 11-01-2006, 08:03 AM   #2
Member (11 bit)
 
sdkfz's Avatar
 
Join Date: Dec 2001
Location: Shakopee MN
Posts: 1,293
set the criteria up on the query to point to a form - in the criteria row of the query under the field the criteria applies to

[Forms].[Your Form Name].[your text box with the criteria typed in name]

the form will have to be open of course so set up the report via macro to pop the form, then have another button to kick off the macro part two that runs the report and have it close the form once the report is generated.

your macro sequence would be something like:
part one
open form [your form name]

part two
run query(ies) pointing to form
run report
close form [your form name]

You can do this better with VB but I'll have to leave that to some one better at this than I
__________________
Never Argue With An Idiot. They'll Drag You Down To Their Level And Then Beat You With Experience.
sdkfz is offline   Reply With Quote
Reply

Bookmarks

Still Need Help? Type Your Keywords Here:


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Computer Acronyms Floppyman Computer Hardware 156 06-18-2006 06:25 AM
Access Question scarruth23 Software Discussion & Support 2 12-06-2005 01:51 PM
Wireless Access Point Router Question jbbrown211 Networking & Online Security 1 03-31-2005 08:21 PM
Access Question sdkfz Software Discussion & Support 1 01-20-2005 11:15 AM
IIS 4, can't query Access DB artsapimp Internet, Web Applications, & The Cloud 1 06-17-2000 12:22 AM


All times are GMT -5. The time now is 09:30 PM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 PL2