Hi,
I am trying to write a reusable function to move the pointer within a recordset. The recordset name will be passed as a parameter. Does anybody know how is it possible to execute the value of a variable
e.g.
call fncRecordset("ClientsRecorset"
Public fncRecordset(passedRecordset as String)
'Where MoveNext should move to the next record
' of the recordset ClientsRecordset
'passedRecorset will have the value
'of "ClientsRecordset"
passedRecorset.MoveNext
end function
Thanks in advance
I am trying to write a reusable function to move the pointer within a recordset. The recordset name will be passed as a parameter. Does anybody know how is it possible to execute the value of a variable
e.g.
call fncRecordset("ClientsRecorset"
Public fncRecordset(passedRecordset as String)
'Where MoveNext should move to the next record
' of the recordset ClientsRecordset
'passedRecorset will have the value
'of "ClientsRecordset"
passedRecorset.MoveNext
end function
Thanks in advance