yrsoullover
New member
- Local time
- Today, 19:30
- Joined
- Mar 1, 2008
- Messages
- 6
hi every one,
i have a problem when im trying to create a button in a form, that button should insert data into a table using the values in the form opened. i.e. the form which has the command button
im doing the code like this
docmd.runsql "insert into table (tableName) Values(forms![FormName]![FieldName]
but it does not work
can any one help me pls
thanks
i have a problem when im trying to create a button in a form, that button should insert data into a table using the values in the form opened. i.e. the form which has the command button
im doing the code like this
docmd.runsql "insert into table (tableName) Values(forms![FormName]![FieldName]
but it does not work
can any one help me pls
thanks