CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Mar 2001
    Location
    County Durham, England
    Posts
    238

    Recordset Changed

    I have a form which is has about 50 fields on it, all of them a linked to a Datasource and a Datafield from a recordset. Is there any easy way of detecting whether something has been changed without having to put a line of code in the change event of every text box ?

    Work is necessary for man. Man invented the alarm clock.

  2. #2
    Join Date
    Apr 2000
    Location
    South Carolina,USA
    Posts
    2,210

    Re: Recordset Changed

    If your textBoxes are in a control array, then there is only one Change event for all 50. This change event and all other events associated with the textboxes uses an index value to support the 50.

    John G

  3. #3
    Join Date
    Aug 2000
    Posts
    27

    Re: Recordset Changed

    There's a DataChanged property on bound controls that can determine if the user has made a change to the original data.


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