Hi Bill,
Thanks for the clarification.
I tried the following steps with the sample database you sent:
1. Open the database file.
2. Open the form.
3. Click the Browse¡ button,
4. Select a file and click Open.
5. The new selected file information is shown in the combo box immediately;
and the new record is added to the table.
6. Repeat Step 3 and Step 4, each time it shows the current new added item;
repeat 15 more times and it works fine.
The code should be fine; I think you can try to install the latest MDAC
version to see if it makes any difference. Please feel free to let me know
you have any concerns or questions.
Hope you had a wonderful Thanksgiving!
Sincerely,
Alick Ye, MCSD
Product Support Services
Microsoft Corporation
Get Secure! - <
www.microsoft.com/security>
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
| From: (e-mail address removed) (Bill Grigg)
| Newsgroups: microsoft.public.access.forms
| Xref: cpmsftngxa06.phx.gbl microsoft.public.access.forms:245654
| X-Tomcat-NG: microsoft.public.access.forms
|
| Alick,
|
| The problem occurs when using the Browse... button to select a file
| name to add to the table and combo box.
|
| Bill
|
|
|
| (e-mail address removed) (Alick [MSFT]) wrote in message
| > Hi Bill,
| >
| > I tried the following steps to reproduce the issue:
| >
| > 1. Open the database file.
| > 2. Open the form frmTest.
| > 3. Open the table tblFileNames, add a new record, close the table; this
| > makes sure the new record is saved to the table.
| > 4. Select the Combo Box cboFileNames, it drops down with a list, the
new
| > added item/record is there.
| > 5. Repeat Step 3 and Step 4, I repeat 10 more times, every time the new
| > added items/records will be shown when I select the Combo Box
cboFileNames.
| >
| > The issue is not reproduced with the same database file on my side,
please
| > feel free to let me know if there is misunderstood or the reproduce
steps
| > are not correct.
| >
| >
| > Sincerely,
| >
| > Alick Ye, MCSD
| > Product Support Services
| > Microsoft Corporation
| > Get Secure! - <
www.microsoft.com/security>
| >
| > This posting is provided "AS IS" with no warranties, and confers no
rights.
| >
| >
| > --------------------
| > | From: (e-mail address removed) (Bill Grigg)
| > | Newsgroups: microsoft.public.access.forms
| > | Xref: cpmsftngxa07.phx.gbl microsoft.public.access.forms:244543
| > | X-Tomcat-NG: microsoft.public.access.forms
| > |
| >
| >
| > Alick,
| >
| > Sorry, those dll's were just residue and not needed for the Sample mdb.
In
| > the enclosed Sample.mdb I deleted them from the references. I also
added
| > cboFileNames_GotFocus(), cboFileNames_Enter() and
| > cboFileNames_AfterUpdate() and it does seem make things better, but
not
| > perfect. The problem is that while whatever is selected is ALWAYS added
to
| > the table, it occasionally does NOT get added to the cboFileNames. Try
it
| > out. It now takes me 6 selections until the incorrect behavior appears.
| > However, it does seem that if I select the record selector on the left
side
| > of the form and then select cboFileNames that the latest entry does
appear.
| >
| > Regards,
| >
| > Bill
| >
| > PS: I appreciate the assistance
|