Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_vb thread: Problems with datareport!!!!


Message #1 by "DSII-Area_Acad=?ISO-8859-1?Q?=E9mica=2F_C=E9?=sar Salas Arbaiza" <csalasa@e...> on Thu, 25 Jan 2001 13:33:05 -0500
You might want to try to stick single quotes (') around your string.

Ex: sql = "Select * from table1 where campo1 = '?'"

-Jeff

-----Original Message-----
From: DSII-Area_Académica/ César Salas Arbaiza
[mailto:csalasa@e...]
Sent: Thursday, January 25, 2001 12:33 PM
To: professional vb
Subject: [pro_vb] Problems with datareport!!!!


How can i do reports in Vbasic??????, I use Dataenviroment+Datareport but i
have problems with parameter.

dim sql as string
sql="SELECT * FROM table1 WHERE campo1=?"

'the ? is the parameter or range



  Return to Index