Article ID: 191149
Article Last Modified on 3/7/2005
rsByRoyalty.setParameter(0, 50); //This fails.
Recordset1.setSQLText("Select * from authors where state = ?");
Recordset1.setParameter(0, "CA"); //This fails.
The following examples demonstrate how to set the setSQLText property to obtain the functionality of a stored procedure with parameters or a parameterized query:
Recordset1.setSQLText('"byroyalty" 50');
Recordset1.setSQLText("Select * from authors where state = 'CA'");
Keywords: kbbug kbpending KB191149