P
pvdalen
I hate to bother anyone with something so relatively minor in scope, but I've
been looking at this statement for hours and just can't seem to find the
syntax error. Pease help!
I apologize for the sloppy look of the cut and paste, but I wanted to
reproduce it as is, with all the spaces and carriage returns represented.
Thanks very much (AGAIN) in advance,
Paul
sSQL2 = ("insert into generator values '" & GenSN.Value & "','" &
GenSpec.Value & "','" & _
GenModel.Value & "','" & EngineSN.Value & "',#" &
Format(StartUp.Value, "mm\/dd\/yyyy") & "#,'" & _
StartUpTech.Value & "'," & GenCost.Value & "," & GenSalePrice.Value
& "," & _
EInstallCost.Value & "," & EInstallPrice.Value & "," &
GasLineCost.Value & "," & _
GasLinePrice.Value & "," & ",#" & Format(InstallStartDate.Value,
"mm\/dd\/yyyy") & "#,#" & _
Format(InstallEndDate.Value, "mm\/dd\/yyyy") & "#,'" &
InstallTech.Value & "',#" & _
Format(WarrentyDate.Value, "mm\/dd\/yyyy") & "#," & cCust & ";")
been looking at this statement for hours and just can't seem to find the
syntax error. Pease help!
I apologize for the sloppy look of the cut and paste, but I wanted to
reproduce it as is, with all the spaces and carriage returns represented.
Thanks very much (AGAIN) in advance,
Paul
sSQL2 = ("insert into generator values '" & GenSN.Value & "','" &
GenSpec.Value & "','" & _
GenModel.Value & "','" & EngineSN.Value & "',#" &
Format(StartUp.Value, "mm\/dd\/yyyy") & "#,'" & _
StartUpTech.Value & "'," & GenCost.Value & "," & GenSalePrice.Value
& "," & _
EInstallCost.Value & "," & EInstallPrice.Value & "," &
GasLineCost.Value & "," & _
GasLinePrice.Value & "," & ",#" & Format(InstallStartDate.Value,
"mm\/dd\/yyyy") & "#,#" & _
Format(InstallEndDate.Value, "mm\/dd\/yyyy") & "#,'" &
InstallTech.Value & "',#" & _
Format(WarrentyDate.Value, "mm\/dd\/yyyy") & "#," & cCust & ";")