Re: Requery a list in aanother form ?
- From: "Amy Blankenship" <Amy_nospam@xxxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 23 Sep 2005 22:57:52 -0500
"Marshall Barton" <marshbarton@xxxxxxxxxx> wrote in message
news:4g09j1tkd8p0o0f3lkqlfed4imgl6gmjnc@xxxxxxxxxx
>>> kelvin H via AccessMonster.com wrote:
>>>>Is it possible to Requery the result of list which is in another form ?
>>>
>>>
>>"Marshall Barton" wrote
>>> Sure, as long as the other form is open, just reference the
>>> object that you want to operate on. If it's another form,
>>> use something like:
>>> Forms!otherform.Requery
>>>
>>> If it's a list/combo box control:
>>> Forms!otherform.the control.Requery
>>
> Amy Blankenship wrote:
>>If that doesn't work, you may want to try something like
>>
>> Forms!otherform.Controls("the control").Requery
>>Or
>> Me.tableName_Subform.Controls("the control").Requery
>>
>>I found recently that this was the only way I could get it to work for me.
>
> Amy, FYI,
> The syntax:
> Forms!otherform.Controls("the control").Requery
> is equivalent to:
> Forms!otherform.[the control].Requery
> and the square brackets are only needed when the control
> name contains a non-alphanumeric character (e.g. a space).
That may be so, but my experience was that one worked and one didn't :-).
-Amy
.
- Follow-Ups:
- Re: Requery a list in aanother form ?
- From: kelvin H via AccessMonster.com
- Re: Requery a list in aanother form ?
- References:
- Requery a list in aanother form ?
- From: kelvin H via AccessMonster.com
- Re: Requery a list in aanother form ?
- From: Amy Blankenship
- Re: Requery a list in aanother form ?
- From: Marshall Barton
- Requery a list in aanother form ?
- Prev by Date: Re: Invalid Use of Null - After Update
- Next by Date: Re: Form number string to mm/dd/yyyy in a table
- Previous by thread: Re: Requery a list in aanother form ?
- Next by thread: Re: Requery a list in aanother form ?
- Index(es):
Relevant Pages
|