> I have a combo control on a form that has when I select a value the
> form reverts to the first record it doesn't stay with the current
[quoted text clipped - 5 lines]
> happens? Thanks
> Tony
That is what happens when a form is Requeried. Are you issuing any Requery
commands on the form?

Signature
Rick Brandt, Microsoft Access MVP
Email (as appropriate) to...
RBrandt at Hunter dot com
Tony Williams - 07 May 2007 15:24 GMT
Hi Rick, yes I'm using requery in the afterupdate event of the combo
control. However I can't think why now????
Tony
>> I have a combo control on a form that has when I select a value the
>> form reverts to the first record it doesn't stay with the current
[quoted text clipped - 8 lines]
> That is what happens when a form is Requeried. Are you issuing any
> Requery commands on the form?
Tony Williams - 07 May 2007 15:26 GMT
Sorry Rick I know why I'm using requery. I have a tabcontrol and use the
requery command to populate Dlookup controls on the tabcontrol based on the
value in the combo control. Any other way round this?
Thanks
Tony
>> I have a combo control on a form that has when I select a value the
>> form reverts to the first record it doesn't stay with the current
[quoted text clipped - 8 lines]
> That is what happens when a form is Requeried. Are you issuing any
> Requery commands on the form?
Rick Brandt - 07 May 2007 15:34 GMT
> Sorry Rick I know why I'm using requery. I have a tabcontrol and use
> the requery command to populate Dlookup controls on the tabcontrol
> based on the value in the combo control. Any other way round this?
Use Refresh or Recalc instead. Or you can issue Requery on those specific
controls instead of on the form.

Signature
Rick Brandt, Microsoft Access MVP
Email (as appropriate) to...
RBrandt at Hunter dot com
Tony Williams - 07 May 2007 17:13 GMT
Hi Rick I can't find Refresh or Recalc in the list of Docmd options. How do
I refresh my tabcontrol?
Thanks
Tony
>> Sorry Rick I know why I'm using requery. I have a tabcontrol and use
>> the requery command to populate Dlookup controls on the tabcontrol
>> based on the value in the combo control. Any other way round this?
>
> Use Refresh or Recalc instead. Or you can issue Requery on those specific
> controls instead of on the form.
Tony Williams - 07 May 2007 17:18 GMT
Sorry Rick found it in Help Me.Refresh
Thanks for the pointer
Tony
>> Sorry Rick I know why I'm using requery. I have a tabcontrol and use
>> the requery command to populate Dlookup controls on the tabcontrol
>> based on the value in the combo control. Any other way round this?
>
> Use Refresh or Recalc instead. Or you can issue Requery on those specific
> controls instead of on the form.