I ran into a strange one when I tried to use this insert statement. When I ran it in B4ppc it actually worked,
but when I tried to compile it there was(obviously) an error.
This actually worked when run in debug mode
text = "INSERT into pword(name,med,dose,time,spi) values('"
text = text & txtName.text
text = text & "','" txtMed.text
text = text & "','" txtDose.text
text = text & "','" txtTimes.text
text = text & "','" txtSP.text
text = text & "')"
This is what it should have been
text = "INSERT into pword(name,med,dose,time,spi) values('"
text = text & txtName.text
text = text & "','" & txtMed.text
text = text & "','" & txtDose.text
text = text & "','" & txtTimes.text
text = text & "','" & txtSP.text
text = text & "')"
It took me ages to see it as it ran perfectly in debug I was just curious as to why it worked.
thanks.......:sign0161:
but when I tried to compile it there was(obviously) an error.
This actually worked when run in debug mode
text = "INSERT into pword(name,med,dose,time,spi) values('"
text = text & txtName.text
text = text & "','" txtMed.text
text = text & "','" txtDose.text
text = text & "','" txtTimes.text
text = text & "','" txtSP.text
text = text & "')"
This is what it should have been
text = "INSERT into pword(name,med,dose,time,spi) values('"
text = text & txtName.text
text = text & "','" & txtMed.text
text = text & "','" & txtDose.text
text = text & "','" & txtTimes.text
text = text & "','" & txtSP.text
text = text & "')"
It took me ages to see it as it ran perfectly in debug I was just curious as to why it worked.
thanks.......:sign0161: