incorporating database into VB6

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • lenin42001
    New Member
    • Jan 2007
    • 29

    #1

    incorporating database into VB6

    Can anyone be of assistance? I,m trying to incorporate an access databse into VB6. Ive added an ADO & Datagrid, selected the Project\Compone nts, clicked OK. Added Microsoft Jet 4 , used OBCD Data Source Name & Connection String. Done test connection, double clicked RecordSource property, changed
    Command Type to cmdTable click OK. F5 to test but no luck. Can anyone tell me where I am going wrong. All clues gratefully recieved....... ......
  • freembada
    New Member
    • Feb 2007
    • 1

    #2
    select the table and then go to the form and for each text box, set its datasource to the name of your ado datacontrol and the data field to the fied of the table you want to bind to.

    Comment

    • debasisdas
      Recognized Expert Expert
      • Dec 2006
      • 8119

      #3
      After establishing the connection of ADO (till then u r correct)


      select the DATASOURCE property of the grid to the name of the ADO

      then run

      it will definately work

      Comment

      Working...