Results 1 to 2 of 2

Thread: dbgrid control

  1. #1
    dana340
    Guest

    Wink dbgrid control

    HI THERE ,

    USING SAME DBGRID WITH MORE THAN ONE TABLE , AS I KNOW IN THE PROPERTIES YOU CAN CONNECT THE DBGRID WITH TABLE AS (DADATSOURCE) AND THEN CLICKING RETRIEVE FIELD .
    BUT IF I WANT TO CHANGE THE RETRIEVE FIELD FROM TABLE TO TABLE IN SAME db (USING SAME DBGRID),

    WHAT COMMAND SHALL I USE .

    FOR EXAMPLE I HAVE 2 OF COMMAND BUTTON AND 1 OF DATA BOUND GRID CONTROL

    Private Sub Command1_Click()
    THE DBGRID1. SHOULD BE CONNECT WITH TABLE CALLED (FOOD)
    End Sub

    Private Sub Command2_Click()
    THE DBGRID1. SHOULD BE CONNECT WITH TABLE CALLED (KIDS)
    End Sub




    I KNOW THIS IS TRICKY . AS I BELIEVE SOMEONE COULD DO IT
    PLEASE HELP
    THANKS.

  2. #2
    Good Ol' Platypus Sastraxi's Avatar
    Join Date
    Jan 2000
    Location
    Ontario, Canada
    Posts
    5,134
    You will get someone to answer if you post where this SHOULD be (Database Forum) and if you stop talking in all caps! (considered shouting)
    All contents of the above post that aren't somebody elses are mine, not the property of some media corporation.
    (Just a heads-up)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width