R
Rob
Hi all,
After reading through a few of these posts I feel that I have been using a
heavy handed approach to adding data to some table. I have been creating a
recordset and then adding a new record and finally updating. This always
felt like overkill as I did not do anything with the recordset rather than
add data to it.
Anyway to my question. I have decided to replace a lot of the
rs.AddNew/rs.Update commands with DoCmd.RunSQL (INSERT INTO ...).
I actuallu have two questions about DoCmd. Is it possible to execute this
command without the built in dialog box informing me that I am about to
append rows and if I have to use this how do I respond to the cancel button.
I have had a search through the help files and also Acc97 Dev Handbook (I am
restricted to Acc97 by works current version of Office) but have been unable
to locate the answers. Any help (or comment on my method for that matter )
would be appreciated,
Thanking you
Rob
After reading through a few of these posts I feel that I have been using a
heavy handed approach to adding data to some table. I have been creating a
recordset and then adding a new record and finally updating. This always
felt like overkill as I did not do anything with the recordset rather than
add data to it.
Anyway to my question. I have decided to replace a lot of the
rs.AddNew/rs.Update commands with DoCmd.RunSQL (INSERT INTO ...).
I actuallu have two questions about DoCmd. Is it possible to execute this
command without the built in dialog box informing me that I am about to
append rows and if I have to use this how do I respond to the cancel button.
I have had a search through the help files and also Acc97 Dev Handbook (I am
restricted to Acc97 by works current version of Office) but have been unable
to locate the answers. Any help (or comment on my method for that matter )
would be appreciated,
Thanking you
Rob