K
KmhComputer
I don't know what I am doing here.
I have a recordset and I want to use the Recordset.Findfirst command to find
a record, but I can't seem to get my syntax correct.
I have an integer variable I'll call TempComp.
The Comp field in my table is an integer.
I essentially would like to do the following:
Recordset.Findfirst Comp = TempComp
If Not Recordset.Nomatch Then
Recordset.Field2 = AnotherVariable
Endif
Can anyone please help with this? Your help would be greatly appreciated.
Thanks,
Kathy
I have a recordset and I want to use the Recordset.Findfirst command to find
a record, but I can't seem to get my syntax correct.
I have an integer variable I'll call TempComp.
The Comp field in my table is an integer.
I essentially would like to do the following:
Recordset.Findfirst Comp = TempComp
If Not Recordset.Nomatch Then
Recordset.Field2 = AnotherVariable
Endif
Can anyone please help with this? Your help would be greatly appreciated.
Thanks,
Kathy