i hv the same problem with VB 6.0 & im using MS ACCESS for the database. Pls help me to code my program as im unable to pass the values display in the text boxes to the data grid in the same form

thnx in advance

What exactly are you having problems with? Is the errors generated in VB6 or in Access?

hi thnx for ur replay.
Actually it's not displaying any errors; i don't understand how to pass the text box values to the data grid which i have inserted in the same form.

You need to add the data to your database first, then refresh your datagrid, which will then show the updated data.

add Data Control and in its Properties Link its Database(name) path
and Record Source to the Field needed to show up

and in data grid properties Select Data Source as Data1