Questions

Answer for:

vb and mysql reporting using cristal report

Message 5 of 4

View entire thread
+
0 Votes
Tony Hopkinson

SelectionFormula = "{PURCHASE.ORDERNO} =( & Text8.text & ) "

& is + for strings and strings are expected to be inside single quotes so above should be

SelectionFormula = "{PURCHASE.ORDERNO} =('" & Text8.text & "') "

Can't confirm because I don't use it, oh and I'd be thinking sql injection attack...