S
Steve Smith via AccessMonster.com
Hi, I appologise if this has been asked. I am setting up a simple database that contains a lookup. This loopkup is based on a simple query. Ok let me tell you how it is setup. Table 1 contains 2 fields...autonumber as key and Suburb. A query has been created and has suburb only sorted ascending. This becomes the lookup for my main Table. The Main Table contains..Autonumber as key, Code, Name, Phone and Suburb. This is in a form where you can enter the data. I need the suburb entry to be updated automatically when a new suburb is entered that is not listed instead of having to enter the suburbs table and add them manually. It would be nice to be able to do it on the fly. I thought I could use the "On Not in List" Event and do a procedure call which did a addnew to the suburbs table. It never does the "On Not in List" call as I have a debug.print and nothing gets printed. I thought this would be straight forward but I can not seem to do it and I am new to access programming. I am using Access XP. Any help would be greatly appreciated. Cheers. Steve.