Re: Help with syntax for passing a field value to a lookup query?
- From: "keithb" <kbrickey@xxxxxxxxxxxxxx>
- Date: Mon, 30 Jan 2006 16:48:22 -0800
Thank you. Now I understand what is happening.
Keith
"Duane Hookom" <duanehookom@xxxxxxxxxxxxxxxxx> wrote in message
news:uvx%23mUeJGHA.1192@xxxxxxxxxxxxxxxxxxxxxxx
>I trust you are not attempting to create lookup fields in a table design.
>For information on "why", check
>http://www.mvps.org/access/lookupfields.htm.
>
> You can and should use lookups (combo boxes) on forms. If you want to find
> out how to cascade your combo boxes on a form, check this link on Roger
> Carlson's web site
> http://www.rogersaccesslibrary.com/TableOfContents3.asp#C.
>
> --
> Duane Hookom
> MS Access MVP
> --
>
> "keithb" <kbrickey@xxxxxxxxxxxxxx> wrote in message
> news:%23UfLMHWJGHA.2212@xxxxxxxxxxxxxxxxxxxxxxx
>>I am trying define a lookup field in a table where the values displayed
>>depend on the content of an adjacent field.
>> For example:
>>
>> Lookup Table:
>> State-------City
>> AZ--------Phoenix
>> AZ--------Tempe
>> CA--------Los angeles
>> CA--------San Francisco
>>
>> If the state field in the primary table contains AZ, I want the lookup
>> combo box to display only Phoenix and Tempe...
>>
>> What is the correct syntax for passing a value from a field in the
>> primary table to a lookup query? When I use "[table].[field]" I get a
>> prompt for a value when the table is opened. When I use "table![field]",
>> the lookup combo box contains no entries.
>>
>> I used to know how to do this, but I forgot..
>>
>> Thanks,
>>
>> Keith
>>
>
>
.
- References:
- Help with syntax for passing a field value to a lookup query?
- From: keithb
- Re: Help with syntax for passing a field value to a lookup query?
- From: Duane Hookom
- Help with syntax for passing a field value to a lookup query?
- Prev by Date: Re: Many to Many Relationships orJunction Table
- Next by Date: fees
- Previous by thread: Re: Help with syntax for passing a field value to a lookup query?
- Next by thread: Re: How to make two tables from one table
- Index(es):
Relevant Pages
|