View Single Post
  #10 (permalink)  
Old July 17th, 2007, 09:58 AM
oldmainframehack oldmainframehack is offline
Authorized User
Join Date: Jul 2007
Location: Winston-Salem, nc, USA.
Posts: 32
Thanks: 0
Thanked 0 Times in 0 Posts

Hi, folks!
  I know this thread's rather old, but I think it addresses what I'm trying to do (almost)

I'm trying (with VBScript) to stuff some records in a DB table (Access) and want any with duplicate primary keys to be rejected, but QUIETLY, please!

Trying to use DoCmd.SetWarnings False, but get an error msg saying "Object Required: 'DoCmd'", which, I think, means I need a CreateObject to use this thing? If so, what should it look like?

Thanks LOADS for any help you guys can offer!!

Reply With Quote