I'm adding a record to a table in VB using command:
DoCmd.RunSQL query
It works fine but Access shows a nasty window that asks the user to confirm adding new records to database.
I don't know how to remove it.
I think it can be done in two ways.
1. In Access 2000 I disabled showing those windows somewhere in options of Access database, but in XP I can't find it (maybe it has been removed or my eyes are getting old), but the database I'm creating will be installed on several PCs and I won't be able to configure all of them, so...
2. There has to be a VB command disabling it, but
On Error Goto 0, nor On Error Resume Next
didn't work. I guess this window isn't handled as an error.
Thanks for any help on this.
btw. does anyone know how to get in VB id of last added record?
DoCmd.RunSQL query
It works fine but Access shows a nasty window that asks the user to confirm adding new records to database.
I don't know how to remove it.
I think it can be done in two ways.
1. In Access 2000 I disabled showing those windows somewhere in options of Access database, but in XP I can't find it (maybe it has been removed or my eyes are getting old), but the database I'm creating will be installed on several PCs and I won't be able to configure all of them, so...
2. There has to be a VB command disabling it, but
On Error Goto 0, nor On Error Resume Next
didn't work. I guess this window isn't handled as an error.
Thanks for any help on this.
btw. does anyone know how to get in VB id of last added record?