T
thecuongjapan
Hi all
I'm really stuck. Please help me.
I have a simple form with a button that have following code:
dim strSQL as string
strSQL="update empoyees table set salary = " & me.lstsalary.column(0) & _
" where workingyears = " & me.lstworkingyears.column(0)
docmd.runSQL
Above code is run OK but each time I hit this bitton, a warning message said
that you are about to updated n recordes or something like that. Very
annoying.
Could anyone tell me how to turn this message off by using VBA.
Thanks
I'm really stuck. Please help me.
I have a simple form with a button that have following code:
dim strSQL as string
strSQL="update empoyees table set salary = " & me.lstsalary.column(0) & _
" where workingyears = " & me.lstworkingyears.column(0)
docmd.runSQL
Above code is run OK but each time I hit this bitton, a warning message said
that you are about to updated n recordes or something like that. Very
annoying.
Could anyone tell me how to turn this message off by using VBA.
Thanks