Re: A2K - how to select a record, programatically on a continuous subform
- From: OldPro <rrosskopf@xxxxxxxxxxxxx>
- Date: Fri, 31 Aug 2007 12:00:14 -0700
On Aug 30, 9:09 am, "Deano" <de...@xxxxxxxxxxxxxx> wrote:
"OldPro" <rrossk...@xxxxxxxxxxxxx> wrote in message
news:1188481963.084622.168680@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
On Aug 30, 8:29 am, "Deano" <de...@xxxxxxxxxxxxxx> wrote:and
I have a little search routine going whereby the user types in some text
match,clicks a button on the main form.
I then see if that text exists in a record on the subform. I get a
recordgrab the record id and am now trying to automatically highlight that
in the subform to show the user they got a hit.
specificHow can I select that record and then perhaps move the focus into a
textbox?
I'm trying this a number of ways and Access isn't cooperating.
thanks
Martin
It is possible, but it isn't easy. Look at this link:
http://www.mvps.org/access/forms/frm0047.htm
I think that just highlights the current record selected by the user. I
want the program to select the record without any user intervention.- Hide quoted text -
- Show quoted text -
It's the same basic idea, except that instead of comparing the current
record to the selected record in the onCurrent event, you compare the
current record to the record you want hilited. It is possible to do a
multi-select this way too.
.
- References:
- Prev by Date: Re: Need design approach for collecting data from multiple remote databases
- Next by Date: Re: Using a Query field in a form
- Previous by thread: Re: A2K - how to select a record, programatically on a continuous subform
- Next by thread: Re: A2K - how to select a record, programatically on a continuous subform
- Index(es):