AlekseijDR
New member
- Local time
- Today, 01:16
- Joined
- Jan 19, 2024
- Messages
- 9
Hi, I downloaded the sample database, made by @MajP :
It works very well, but I have a problem on the NotInList event: using the class requery method (as advised to in comments), it works fine on a single form (I put the requery on Activate event). It fails on a continuous form, though.
EXAMPLE:
Before FAYT, I had a code like this:
cmbTownID_NotInList: Docmd.OpenForm "Towns", etc.
form Towns_Close: Forms![Customer]![cmbTownID].Requery
Now, with FAYT I deleted form Towns_Close event and have the following code:
form Customers_Activate: FAYT.requery
It works well if Customers is a single form (although I don't know it's good performance-wise to have a combobox requery every time the form is activated); it fails if Customers is a continuous form.
Thank you very much for your time!
Find (Filter) as You Type Controls (Combobox, Listbox, Form)
It works very well, but I have a problem on the NotInList event: using the class requery method (as advised to in comments), it works fine on a single form (I put the requery on Activate event). It fails on a continuous form, though.
EXAMPLE:
Before FAYT, I had a code like this:
cmbTownID_NotInList: Docmd.OpenForm "Towns", etc.
form Towns_Close: Forms![Customer]![cmbTownID].Requery
Now, with FAYT I deleted form Towns_Close event and have the following code:
form Customers_Activate: FAYT.requery
It works well if Customers is a single form (although I don't know it's good performance-wise to have a combobox requery every time the form is activated); it fails if Customers is a continuous form.
Thank you very much for your time!