Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
I can't add new records in empty DataGrids
Message
From
31/01/2002 03:43:23
Larry Santos
Local Data System
Philippines
 
 
To
29/01/2002 15:09:36
General information
Forum:
Visual Basic
Category:
Database DAO/RDO/ODBC/ADO
Miscellaneous
Thread ID:
00611672
Message ID:
00613226
Views:
25
hi,

before you do something to the recordset your must set them to nothing then execute again your code.... or rebind the grid or refresh the recordset...



>First, thanks for your advice.
>
>My DataGrid is binded to an ADO Data Control, so I use:
>
>ADODataControl.RecordSource = "SELECT....."
>ADODataControl.Refresh
>
>DataGrid.ClearFields
>DataGrid.Rebind
>
>I try your example, changing the ADODataControl.Recordset property, but I get the same error.
>
>
>More ideas????
>
>
>Thanks again.
>
>PD: Can I to bind a DataGrid directly to a Recordset in run-time???
Previous
Reply
Map
View

Click here to load this message in the networking platform