OK, I understand your table structure now. Just remember, if anyone has more than one specialty, you will need the second table to make a one-to-may relationship between physician and specialties. You should not put a repeating group in your one table, e.g. Physician, Specialty1, Specialty2, etc.
If the form's source object is the actual table itself (or an updateable query based on that table), then you don't need the RunSQL statment. Simply typing the specialty into the combobox will place that specialty into the physician's record for that field.
If the form is unbound, try using ADO and creating a recordset object to populate the information.
Greg Serrano
Michigan Dept. of Environmental Quality, Air Quality Division
|