|
-
May 24th, 2001, 07:51 AM
#1
grids and ODBC
Hi.
I'm trying to connect a data control to a dbGrid. The data control .Connect property must be set to the proper connection string. This is no problem, except that I don't want to hard-code the UID/PWD into the property. I thought that I could just set the .Connect property at run-time, but this doesn't work--no data shows up in the dbGrid.
Alternatively, I could use an MSFlexGrid and fill it using a recordset. However, I don't know enough about MSFlexGrids to know if they will have all the features I need. I don't need to edit data, but I need to search, highlight, and select rows.
Thanks!
secrethistory
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|