> When a record is opened (i.e. when a particular ref number is chosen from
> the
[quoted text clipped - 7 lines]
> Many thanks
> CW
Susan -
Thanks, but that works only when first opening the form, upon which it shows
the first of my records by default. When I then select the record I want to
go to (by selecting its reference in a combo dropdown), even if the
particular field is empty, that code doesn't work.
Close, but not there yet!!
Hope you can come up with the extra bit to achieve this
Many thanks
CW
> Form's OnOpen event:
>
[quoted text clipped - 12 lines]
> > Many thanks
> > CW
Bob Quintal - 06 Jul 2007 21:05 GMT
> Susan -
> Thanks, but that works only when first opening the form, upon
[quoted text clipped - 5 lines]
> Many thanks
> CW
Just move the code to the OnCurrent event. This will trigger
whenever a different record is selected.
If the form is also used to enter new records, you will want to
put a
If Not me.newrec then above the code block, with the End If
below.
>> Form's OnOpen event:
>>
[quoted text clipped - 12 lines]
>> > Many thanks
>> > CW

Signature
Bob Quintal
PA is y I've altered my email address.
--
Posted via a free Usenet account from http://www.teranews.com