Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DataGrid question...
Message
General information
Forum:
Visual Basic
Category:
ActiveX controls
Miscellaneous
Thread ID:
00625054
Message ID:
00625156
Views:
11
>To add a dummy field to my recordset, do I have to use MyRecordset.Fields.Append method ?? If so, I get an error that says : Operation not allowed in this context

You cannot use this. This will generate a run-time error. You need to create it while querying the database (select *, '' as DUMMY from YourTable ...).

>I would also like you to precise me what you mean by initialising it while populating the grid...

Before setting the grid source property to your recordset, loop through your recordset and update your dummy field.
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform