TheInsider
Programmer
Hi,
In Microsoft SQL Server you can use an ADODB Command object with a Parameter object to set or return values from a query using the "?" operator
i.e "SELECT ? = fldLastName FROM tblClients where fldFirstName = 'Tom'"
Here a value is assigned to ? from fldLastName and that value will be available to my code in Visual Basic through the Parameter object.
As far as I know MySQL 4.1 doesn't recognize the ? operator. How can a Command/Parameter object be used to dynamically set and retrieve values from SQL statements in MySQL 4.1?
Thanks
In Microsoft SQL Server you can use an ADODB Command object with a Parameter object to set or return values from a query using the "?" operator
i.e "SELECT ? = fldLastName FROM tblClients where fldFirstName = 'Tom'"
Here a value is assigned to ? from fldLastName and that value will be available to my code in Visual Basic through the Parameter object.
As far as I know MySQL 4.1 doesn't recognize the ? operator. How can a Command/Parameter object be used to dynamically set and retrieve values from SQL statements in MySQL 4.1?
Thanks