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

DAO-Data-control - refresh not working?

rated by 0 users
This post has 1 Reply | 0 Followers

Top 10 Contributor
Posts 89,785
newsgroup_archive Posted: Sun, Jun 15 2003 11:44 PM
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).

Top 10 Contributor
Posts 89,785
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) | RSS
Contact ComponentOne: 1.800.858.2739 ©1987-2010 ComponentOne LLC All Rights Reserved.