combo box generate new record and more

P

Piers

Hi folks

Using a combo as a go-to-record feature on an events form. This is populated from another form, bookings, meaning you can only go to an event if it has been created in the other form

The first time you go to that event, there's no match in the events form. When this happens, I want the drop-down to create a new record, and insert the chosen value into another field (called code)

All I've got is the standard code that the wizard gives me (below)

Dim rs As Objec

Set rs = Me.Recordset.Clon
rs.FindFirst "[event_id] = '" & Me![Combo15] & "'
Me.Bookmark = rs.Bookmar

Any help is MUCH appreciated
Thankx in advance

Piers.
 
Top