I don't know why but I am running into a block with writing a update query in vba. I have a table called dbo_rpt_FYInfo. What I am trying to do is update 12 cells in the table. So I wrote a simple for next loop and copied and pasted the sql code into the module. My block is how to update the cell with the numbers 1-12. Any help would be appreciated.
Tom
Tom
Code:
For intX = 1 To 12
UPDATE dbo_rpt_FYInfo SET dbo_rpt_FYInfo.fyord = intX
WHERE (((dbo_rpt_FYInfo.uci)="APT") AND ((dbo_rpt_FYInfo.rptpd)>372));
Next intX