Hi
I have this error flagging up practically every before and after update event of one table in my DB. I just trapped the error but was wondering if there was any way to completely avoid it.
Other errors which persist since linking to SQL Server tables are Error 91 whenever I try adding new record to different table and sometimes Error 94 - null value but not sure why this happens.
Any ideas how I can work out why these errors are happening when BE is linked SQL tables and how to resolve please?
Hi
I have this error flagging up practically every before and after update event of one table in my DB. I just trapped the error but was wondering if there was any way to completely avoid it.
Other errors which persist since linking to SQL Server tables are Error 91 whenever I try adding new record to different table and sometimes Error 94 - null value but not sure why this happens.
Any ideas how I can work out why these errors are happening when BE is linked SQL tables and how to resolve please?
Set db = CurrentDb
Set rs = db.OpenRecordset("tblJobLog", dbOpenDynaset, dbSeeChanges)
rs.AddNew
rs!fldJLOrderID = Me.fldOrderID
rs!fldJLStaffID = Forms!frmlogin!cmbstaff
rs!fldJLDateTime = Now()
rs!fldJLNote = txt
rs.update
rs.Close
Set db = nothing
Set rs = nothing
One of the sites I visit frequently posted some handy code to do this recently. Would have come in handy about 2 years ago but I was assured by my IT that it was impossible.or the server is able to check their login credentials via an active directory link.
strSQL = "sp_AUDIT_InsertRecord " & glUserID & ", '" & sVersion & "' , '" & sProcess & "', '" & sMessage & "', '" & glCompName & "'"
sSendToPT_Generic strSQL, False
Glad you have sorted your error out.Yes I have tested the Active Directory login but keep getting an error. Perhaps permissions?