Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.clipper.visual-objects > #5220

Re: Help with error 31

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" <Urs.Eggmann@shinternet.ch>
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 <av50gaFk477U1@mid.individual.net> (permalink)
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

Show key headers only | View raw


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" <kuno@retailsoftware.com> 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 

Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Help with error 31 Kuno Egger <kuno@retailsoftware.com> - 2013-05-10 12:01 -0700
  Re: Help with error 31 "Urs Eggmann" <Urs.Eggmann@shinternet.ch> - 2013-05-10 21:31 +0200
  Re: Help with error 31 "richard.townsendrose" <richard.townsendrose@gmail.com> - 2013-05-12 02:23 -0700

csiph-web