D
dht
I have this code that is suppose to join to fields together and put the
result in the field.
The problem is that I get a message that is a compile error.
Set gdbs = CurrentDb()
Set grst1 = gdbs.openrecordset(Products)
grst1.MoveFirst
grst1.MoveLast
grst1.MoveFirst
Select Case grst1.RecordCount
Case 0
Case Else
For gintloop1 = 1 To grst1.Recordset
With grst1
.edit
!Session_ID = !Windows_Login & " " & !Date
.Update
End With
grst1.MoveNext
Next
End Select
grst1.Close
gdbs.Close
Can anyone point me in the right correction for correcting this code.
Thanks
David
result in the field.
The problem is that I get a message that is a compile error.
Set gdbs = CurrentDb()
Set grst1 = gdbs.openrecordset(Products)
grst1.MoveFirst
grst1.MoveLast
grst1.MoveFirst
Select Case grst1.RecordCount
Case 0
Case Else
For gintloop1 = 1 To grst1.Recordset
With grst1
.edit
!Session_ID = !Windows_Login & " " & !Date
.Update
End With
grst1.MoveNext
Next
End Select
grst1.Close
gdbs.Close
Can anyone point me in the right correction for correcting this code.
Thanks
David