I am having to split my app into various text files because it is quite big.
One of the subs has this code
sqlText="Insert Into TaxSummaries (ShiftDate,GST,PAYG,TotalTax,MyTotal) Values (" & _
"'" & ThisShiftDate & "'," & _
GST & "," & _
PAYG & "," & _
TotalTax & "," & _
MyTotal & ")"
When I put it into a file, add the file to the project and compile it complains with
Error compiling program.
Error description: syntax error.
Occurred on line: 4391
sqlText="Insert Into TaxSummaries (ShiftDate,GST,PAYG,TotalTax,MyTotal) Values (" & _
From this I assume the continuation doesn't work in external code files.
If I put the code back into the main .sbp file and take away the reference to the code file it runs.
Has anyone else had this?
regards, Ricky
One of the subs has this code
sqlText="Insert Into TaxSummaries (ShiftDate,GST,PAYG,TotalTax,MyTotal) Values (" & _
"'" & ThisShiftDate & "'," & _
GST & "," & _
PAYG & "," & _
TotalTax & "," & _
MyTotal & ")"
When I put it into a file, add the file to the project and compile it complains with
Error compiling program.
Error description: syntax error.
Occurred on line: 4391
sqlText="Insert Into TaxSummaries (ShiftDate,GST,PAYG,TotalTax,MyTotal) Values (" & _
From this I assume the continuation doesn't work in external code files.
If I put the code back into the main .sbp file and take away the reference to the code file it runs.
Has anyone else had this?
regards, Ricky