A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Running & Setting Up Queries
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

How to use txtboxes and Combo boxes in a form



 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old May 27th, 2010, 09:02 PM posted to microsoft.public.access.queries
sebastico
external usenet poster
 
Posts: 74
Default How to use txtboxes and Combo boxes in a form

Hello Foro
Access 3003.
In a form I'm trying to design a search where user only enter data in three
textboxes.
In a query I have the following parameter :

Like [Forms].[Form].[txtName] & "*"
Like [Forms]![Form].[txtCity] & "*"
Like [Forms].[Form].[txtStreet] & "*"

The fields: OO1, YY1, RR1 do not have parameters but they displays records
in the query as I mentioned here.

The query displays records in the fields
AZ1, AZ2, AZ3, AZ4, AZ5 and AZ6

In the form, I would like to add two combo boxes but with this conditions.
If user select a row from Combo box1 the Combo box 2 must be disabled and
the textboxes as well
If user select a row from Combo box2 the Combo box 1 must be disabled and
the textboxes as well.

Please could you suggest how can I do this?

Many thanks

 




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 05:36 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.