Hi,
I'm building an SQL with parameters.
At runtime, a pagecontrol will automatically generated edit controls uppon the discovered parameters.
Right now, every param are handled with Variant. This is not a proper solution. I want to create the corresponding edit control type
If the param is "assigned" to a datetime, a TDateTime Picker must be created ... and so on.
Is there a way to know which param belongs to which field ?
Thank you
Any idea how to retreive the fieldname assign to a specific parameter ?
-
- Posts: 451
- Joined: Wed 19 Jan 2005 09:59
Re: Any idea how to retreive the fieldname assign to a specific parameter ?
Try to use COMMENT option for column's in database. (see MySQL manual CREATE TABLE