CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Feb 1999
    Posts
    1

    DataGrid does not seem to update fields linked to environment?



    1. I used MS Access to create two tables(table1 and table2). They share a common field but are not linked.

    2. In VB6 I created an environment1.command1 that connects to table1 and a command2 that connects to table2.

    3. I then linked those tables with the common field(within vb2). In this one-to-many relationship table1 was the parent and table2 was the child.

    4. I then used one datagrid to display a list of last names from table1 and a second datagrid to display a list of transactions for each of those names.

    --------------------------------------------------------------------------

    THE PROBLEM: I then added fields on the form that I linked to command2.[a field]

    If I use the second datagrid to move from record to record, this movement does not update the contents of those fields. HOW can i have them updated?

    YOUR HELP WILL BE GREATELY APPRECIATED!!!

    SM

  2. #2
    Join Date
    Feb 1999
    Posts
    3

    Re: DataGrid does not seem to update fields linked to environment?



    Hey There - I have experienced the same problem with the "flex" grids. I have discovered

    that it will work if I go out of the application and back in. Would you please

    let me know of any responses that you get??


    Thanks

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

Featured