Thread View: borland.public.cppbuilder.database.ado
2 messages
2 total messages
Started by Robert Anderson
Mon, 05 Mar 2001 22:41
DBGrid
Author: Robert Anderson
Date: Mon, 05 Mar 2001 22:41
Date: Mon, 05 Mar 2001 22:41
3 lines
1047 bytes
1047 bytes
When I close an ADOTable the connection to the DBGrid is lost. I have 8 columns in my table. When I open the table again the DBGrid FieldCount only shows one..
Re: DBGrid
Author: Mark Cashman
Date: Tue, 13 Mar 2001 01:50
Date: Tue, 13 Mar 2001 01:50
15 lines
1517 bytes
1517 bytes
Hi, Robert! If you are switching between tables, they may only have that one column in common. To reset the grid to see all of the columns, set the DataSource property to NULL, then change the TADOQuery->SQL, then set the grid to use the data source again. ------ Mark Cashman (TeamB - C++ Builder), creator of The Temporal Doorway at http://www.temporaldoorway.com - Original digital art, writing, music and more - C++ Builder / JBuilder Tips and The C++ Builder Programmer's Webring (Join us!) http://www.temporaldoorway.com/programming/index.htm ------
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads