scripting : Dataprovider.Unload also refreshes DP

Hi all,

I’ve written a script that removes/adds conditions from/to a dataprovider based on input from a dialog box. To change my dataprovider, I first load it into memory, using the load-command, I add/remove the specified conditions and then I unload it (using the unload command). It now happens that the unload-command also refreshes my dataprovider. This does not seem to be standard behaviour and leads to a double refresh since I based my script on the OnBeforeRefreshDocument-event.

Has anybody encountered similar problems.

Thenks a lot,
Diederik


Listserv Archives (BOB member since 2002-06-25)