By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,391 Members | 1,429 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,391 IT Pros & Developers. It's quick & easy.

Help with Availability Query in Access

P: 2
Hi All!

I am tryin to create a simple hire system for a fancy dress outlet.



HireComplete (Yes/No)

Assumption: if a hire table can have many costumes how can i make this work in the attributes?

Also I need to devise a query to check availabilty of costumes? Ive tried so many but i cant seem to get it so the user inputs the date to check for.

Im pretty new to Access, and am sort of doing this as a hobbie for a friend? any ideas would be grateful.....:)
Many thanx
May 13 '06 #1
Share this Question
Share on Google+
1 Reply

P: 70
Set your relationships as one to many and this will allow one in each of the customer and costume tables, but allow many entries in your hire table.

In your query you have a couple of options. You could make it a parameter query which will prompt the user for data:

between [Please enter beginning date] and [Please enter ending date]

This will generate two input boxes to the user to create the desired date range.

You could also have a form with text boxes which the user enter's dates into and then direct the query to that form. This will only work if the form is open (does not have to be visible,though). If this were the case you would put this in the criteria for your query:

between forms!formname.textboxname and forms!formname.textboxname

If you need anything else, let me know.
May 15 '06 #2

Post your reply

Sign in to post your reply or Sign up for a free account.