Re: Find customer by customernumber using sql ?
- From: "Al Camp" <anon@xxxxxxxx>
- Date: Wed, 15 Feb 2006 09:55:06 -0500
Spookie,
The query behind the combo box allows the user to select a unique
CustomerID for Access to find.
The AfterUpdate code of the combo performs that Find.
Private Sub cboFindRecordID_AfterUpdate()
DoCmd.GoToControl "RecordID"
DoCmd.FindRecord cboFindRecordID
DoCmd.GoToControl "LastName"
End Sub
If the Combo control you placed on your form doesn't show a RowSource
property, then make sure that you have the ALL tab selected in the
Properties box, and look again.
If it's still not there, then it's not a Combobox. All Combos and
ListBoxes have a RowSource, where a table, query, or value list determines
what choices will be displayed to the user for selection.
--
hth
Al Camp
Candia Computer Consulting - Candia NH
http://home.comcast.net/~cccsolutions
"SpookiePower" <boxjunk2600@xxxxxxxxx> wrote in message
news:1140010485.707497.61260@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
I'm a bit confused about how you do this. I can see that you have
something called
"Row Source" in the combobox containing a query. I cant see who this
query connect to the two textboxes and then, when I place a
combobox/textbox on my form, there is not something called "Row Source"
where I can put a query.
.
- References:
- Find customer by customernumber using sql ?
- From: SpookiePower
- Re: Find customer by customernumber using sql ?
- From: Al Camp
- Re: Find customer by customernumber using sql ?
- From: SpookiePower
- Find customer by customernumber using sql ?
- Prev by Date: Re: convert an ACCESS report to a WORDreport, the checkbox disappear
- Next by Date: Re: Access Reporting
- Previous by thread: Re: Find customer by customernumber using sql ?
- Next by thread: Re: Access Reporting
- Index(es):
Relevant Pages
|