Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!storethat.news.telefonica.de!telefonica.de!news-1.dfn.de!news.dfn.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: "Urs Eggmann" Newsgroups: comp.lang.clipper.visual-objects Subject: Re: Help with error 31 Date: Fri, 10 May 2013 21:31:02 +0200 Lines: 47 Message-ID: References: <5ff558b1-a4fc-4a2f-934e-357b5a6880f0@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Trace: individual.net uEcYTxP6yOOD8EvBleqN/AaqlZktdOEjqYuCqh7X/1o+8HpWF0 Cancel-Lock: sha1:BqA2O5rsfdXMTXxmO/+CweDk+Fo= X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.5931 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-EsetId: 35EFE320EBB639336FAAB8 X-EsetScannerBuild: 13802 Xref: csiph.com comp.lang.clipper.visual-objects:5220 Hi Kuno, That works fine here: SELF:Use(bDBServer{"C:\CAVO2836\Exec\dbf\KUNDEN"}) // DataWin uses old server SELF:oDCbBrowser1:Use(SELF:Server) // Browser uses same Server as the owner SELF:Server:Close() SELF:Use(bDBServer{"C:\CAVO2836\Exec\dbf\CUSTOMER"}) // DataWin uses new server SELF:oDCbBrowser1:Use(SELF:Server) // Browser uses same Server as the owner regards Urs "Kuno Egger" schrieb im Newsbeitrag news:5ff558b1-a4fc-4a2f-934e-357b5a6880f0@googlegroups.com... I have a datawindow containing a bBrowser and some individual fields as single line edits. All are attached to a DBF so when I click on a row in the browser the content of the individual fields changes appropriately. On the datawindow is a button that displays a file dialog which allows the user to get a different DBF. Once I have the new DBF filename I use the following code to change the DbServer: oOrders:Close() // close the old order file oOrders := DbServer{sFileName,TRUE,FALSE} //load the new order file oDCbBrowser1:Use(oOrders,,AFields) // attach it to the browser SELF:Use(oOrders) //attach it to the datawindow The last line produces the following error: ERROR CODE 13 (NO EXPORTED METHOD) SUBSYSTEM: BASE FUNCTION: SEND ARGUMENT: BBROWSER_NOTIFYCHANGES I have tried suspendnotification and suspendupdate and changing the order of attaching the DbServer and even re-calling the postinit method to re-initialize everything but to no avail. Any advice would be appreciated. Kuno