Thank you for your responses.
Initially I had a DLookup code that was working fine based on the criteria e.g.:
sno = DLookup("[SeqNo]", "tblAllPols", "[tblAllPols].[Issuedate] = # " & vard & " #" & vno & add2 & add3 & add4 & add8)
uquery = "update tblAllPols set InvDate = # " & varx & " # where [tblAllPols].[SeqNo] = " & sno
uquery1 = "update tblAllPols set InvNo = " & x & " where [tblAllPols].[SeqNo] = " & sno
uquery2 = "update tblAllPols set Currenc = '" & xxx & "' where [tblAllPols].[SeqNo] = " & sno
However the above code only updates one row in the table. I want to be able to update more that one row so I thought a loop would be better.
I am not getting any errors in the code I posted initially but the problem is that it's not updating the table.
What is the best way to handle what I want to do?
Regards
__._,_.___
Reply via web post | • | Reply to sender | • | Reply to group | • | Start a New Topic | • | Messages in this topic (4) |
SPONSORED LINKS
.
__,_._,___
Tidak ada komentar:
Posting Komentar