Hi with a button im trying to copy a table (which does succesfully)
and add the new table name to a combobox. <--- where the problem starts
Here is my current code
Initially it appears to work, however when you go into design view and back to form view all the added items dissappear
Ive looked around and seen some people mention SQLs unfortunately i havent a clue what they are
any help would be appreciated especially if it doesnt invlove SQLs
Thanks
and add the new table name to a combobox. <--- where the problem starts
Here is my current code
Code:
Private Sub Command7_Click()
DoCmd.CopyObject , Me.Combo16, acTable, Me.Combo16
Combo28.AddItem Item:=Me.Combo16 & Me.Text18
End Sub
Initially it appears to work, however when you go into design view and back to form view all the added items dissappear
Ive looked around and seen some people mention SQLs unfortunately i havent a clue what they are
any help would be appreciated especially if it doesnt invlove SQLs
Thanks