parameters and their data types

Carloz

New member
Joined
Apr 21, 2005
Messages
1
Hi,

Im working with Delphi 2005 and I have just connected to an Informix database. The goal is to retrieve some table columns in a datagrid. The next step is to work with parameters that can be entered in a textbox. If I enter an integer, I get the right values in the grid, but when I use a varchar as a parameter, I get no value. I suppose that it has something to do with converting the data type, but I dont know exactly how to do that. All the non numeric fields in the database table are varchars, while the data type of the textbox1.text property is a string. How can I convert this value so it can be recognized?

Thanks in advance!

Carloz
 
Back
Top