The following code is an extract from a long line of code which is used to update the fields in a table.
Code:
strSQL = "UPDATE TblCompetitor SET TblCompetitor.TxtName = Null, TblCompetitor.TxtClass = 'O',TblCompetitor.TxtInitials = Null, TblCompetitor.TxtRank_Rating = Null, TblCompetitor.TxtServiceNumber = Null, TblCompetitor.fWRN = False, TblCompetitor.fWRNWinner = False, TblCompetitor.fWonPeters = False" _
[code]
I want to break this up into a series of lines but every time I insert an underscore after the comma, the code goes red, indicating that I have made an error. I know there are certain rules about using the underscore but cannot find very much about them. I have a feeling that I cannot break up this statement without inserting certain functions and would be grateful for any advice.
Best Regards
John