default access messages on query run

definewebsites

Registered User.
Local time
Today, 19:55
Joined
Nov 18, 2007
Messages
10
Hi there,

I have an access database in which I am updating a table from a form using visual basic for access. I have got the update to work, however before the application appends the table, it asks a question "You are about to append a row" then an option for "yes or no"

I have a custom message that appears after the appending, but I do not want the message in bold above to appear at all. Does anyone know how I can suppress that message?

Thanks
 
You can use CurrentDb.Execute instead of DoCmd.RunSQL.
 
Thanks

Thanks alot for the tip, I will give it a shot and feedback on what happens..

Cheers
 
Thank you for your assistance. I used your suggestion in conjunction with dbFailOnError and it worked.
I do appreciate

Cheers
 
No problem; glad we got it sorted out.
 

Users who are viewing this thread

Back
Top Bottom