General discussion

Locked

A Problem in VB 6.0

By kamena1 ·
i am working with data Grid in VB. now the problem is that i want to transfer the records entered by the user in grid to the Data Report. please tell me how to do this.

Thanks

This conversation is currently closed to new comments.

1 total post (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

populate DBGRID

by kiran.maan In reply to A Problem in VB 6.0

1. update entered data into database
2. open new recordset
3. rst.open "SELECT * FROM TABLE1",cnn,adOpenDynamic, adLockOptimistic
4. Set DBGRID1.DataSource = rst
rst.refresh

if required, ask me, will give u a complete code

Back to Desktop Forum
1 total post (Page 1 of 1)  

Related Discussions

Related Forums