matrixindicator
IS-IT--Management
Hello,
Can you set the name of a table column to a variable ?
qryName is a variable from a function argument but match one name in the table, if yes, I doubt about the syntax ?
Can you set the name of a table column to a variable ?
qryName is a variable from a function argument but match one name in the table, if yes, I doubt about the syntax ?
Code:
Set dbs = CurrentDb
Set rst = dbs.OpenRecordset("T14", dbOpenDynaset)
If Not rst.EOF And Not rst.BOF Then
With rst
.MoveLast
.Edit
!qryName = qryName
.Update
End With
Else