Add Item function for Access 2000

F

fvela

i posted an earlier question about the addItem method and found that it was
missing in versions of Access earlier then 2002 ... working in Access 2002 is
not an option at the moment...
is there anyone out there who can send me a function that would create an
addItem method....

thanks
 
M

MacDermott

If you are using a valuelist as the combobox's rowsource, you can write code
to append to that list; just separate entries with semicolons.
If you're referencing a table/query for the rowsource, you'll have to add
items to the table.
In this case, these will be permanent additions; they'll show up next
time you open the form unless you write some other code somewhere (e.g.
Form_Unload) to remove them from the table.
In either case, requery the combobox to show the new entries.

HTH
- Turtle
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top