On Mon, 12 Jan 2004 21:02:19 -0500, "Robin S." <la*******@hotmail.com>
wrote:
Originally I wanted a list box which selects which record is the current one
within the same form. Easy enough until Access takes a dump when one is
deleted and then someone tries to select it in the list box (same session).
I can't get the repaint to work at all.
So, what about a pop-up that shows a list box. The user selects which record
should be current. This pop-up then closes and the underlying form has the
selected record ready to be edited.
I'm sure this is a basic question but I'm a novice.
Thanks for any hints.
Regards,
Robin
You really should use a combo box, not a list box, to find the record
you wish on your form.
If you use the Combo Wizard to create the combo box for you, select
the 3rd option on the first page of questions, something like 'Find a
record ... etc.'
Place the combo in the Form header (or Footer). Leave it unbound.
Set it's AutoExpand property to yes.
As you start to enter the recordID, the combo will go to the first
matching record. When the RecordID is correct, click Enter, and the
form will display that record.
*** Use requery when working with list/combo boxes, not repaint. ***
--
Fred
Please reply only to this newsgroup.
I do not reply to personal e-mail.