I am connecting to an access database at runtime, not design time so I cant use the ide to set column parameters. This works ok, but there is no formatting on the numeric fields. How can I set it in code,
TIA,
Lenny
You can set it up in design time, set up all the connections manually (delete them afterwards) and format your columns. The ADO component will remember them.
If you still want to set up all the formatting at runtime, access the TField object associated with each field in your dataset. Have a look in the help for all the properties available.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.