in

C1 Community

ComponentOne Community is a free source for developers and help authors to collaborate and communicate.

DAO-Data-control - refresh not working?

Last post 03-14-2005 5:54 PM by newsgroup_archive. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 06-15-2003 11:44 PM

    DAO-Data-control - refresh not working?

    Hi folks,

    I have a pretty simple TDB-list - bound to a DAO-Data-control - in a
    VB6-form that I'm using to display records the user will use to select
    records to be deleted from.
    After the user selects an entry and clicks the delete-button, a different
    recordset will be opened (the one used with the TDB-List won't allow
    deleting it using the DAO-DC) and the selected record will be deleted.
    After having deleted that record, I'm issuing a .Refresh for the DAO-DC in
    order to have the list be displayed without the record that just got
    deleted.

    However - the .Refresh will not behave as assumed - the record will still
    show up within the TDB-list although it's definetely not there anymore.
    If I simply unload and reload the form, everything will be fine.

    Any hints on this?

    TIA,
    Olaf

    Click here to view the original newsgroup article (read only).

  • 03-14-2005 5:54 PM In reply to

    Re: DAO-Data-control - refresh not working?

    Hi Olaf,
    Please apply the latest update from our website;
    http://prerelease.componentone.com/activex/C1TrueDBList/

    Please recompile your applcation after applying the update.
    If the problem persists then please send me a stripped down.

    Regards
    Patrick
    "Olaf Rabbachin" wrote in message
    news:3eece632@news.componentone.com...
    > Hi folks,
    >
    > I have a pretty simple TDB-list - bound to a DAO-Data-control - in a
    > VB6-form that I'm using to display records the user will use to select
    > records to be deleted from.
    > After the user selects an entry and clicks the delete-button, a different
    > recordset will be opened (the one used with the TDB-List won't allow
    > deleting it using the DAO-DC) and the selected record will be deleted.
    > After having deleted that record, I'm issuing a .Refresh for the DAO-DC in
    > order to have the list be displayed without the record that just got
    > deleted.
    >
    > However - the .Refresh will not behave as assumed - the record will still
    > show up within the TDB-list although it's definetely not there anymore.
    > If I simply unload and reload the form, everything will be fine.
    >
    > Any hints on this?
    >
    > TIA,
    > Olaf


    Click here to view the original newsgroup article (read only).

Page 1 of 1 (2 items)
Contact ComponentOne: 1.800.858.2739 ©1987-2008 ComponentOne LLC All Rights Reserved.