Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: "Wolfgang Riedmann" Newsgroups: comp.lang.clipper.visual-objects Subject: Re: SetFilter cancels the default rdd Date: Mon, 5 Aug 2013 17:04:20 +0200 Lines: 30 Message-ID: References: <0018e291-a145-40e5-91fe-258609fc9d07@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 X-Trace: individual.net WaB2C+p9X9sd8Jtsj6L5wApvUG3DcOqv+JT2LdCL6OoeY0//0= Cancel-Lock: sha1:jliHzq7CxK5UwLHyiyiLFJmnbKs= User-Agent: XanaNews/1.18.1.6 Xref: csiph.com comp.lang.clipper.visual-objects:5640 Hi Krystian, the OrdBagExt() function is like most DB... and Ord... dependent on the current workarea. If you call this function when the currently active workarea is opened by the DBFNTX RDD, "NTX" will be returned. If you set the currently active workarea to another where the table is opened with the DBFCDX RDD, "CDX" will be returned. This is by design, and so since Clipper time. The DBServer classes are hiding these details only, but are based on them. If you need the function based approach, you need to select forst the correct workarea, or prefix the call with the workarea number or the alias: ( nArea )->OrdbagExt() rcp_dane->OrdBagExt() HTH Wolfgang --