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


Groups > comp.lang.clipper.visual-objects > #7879 > unrolled thread

ADS .NET Provider: How to disable CDX auto open

Started by"Jamal Assaf" <someone@example.com>
First post2015-03-17 09:53 -0400
Last post2015-03-19 10:58 -0400
Articles 3 — 2 participants

Back to article view | Back to comp.lang.clipper.visual-objects


Contents

  ADS .NET Provider: How to disable CDX auto open "Jamal Assaf" <someone@example.com> - 2015-03-17 09:53 -0400
    Re: ADS .NET Provider: How to disable CDX auto open "Joachim Duerr (ADS)" <jojo.duerr@gmx.de> - 2015-03-19 14:33 +0000
      Re: ADS .NET Provider: How to disable CDX auto open "Jamal Assaf" <someone@example.com> - 2015-03-19 10:58 -0400

#7879 — ADS .NET Provider: How to disable CDX auto open

From"Jamal Assaf" <someone@example.com>
Date2015-03-17 09:53 -0400
SubjectADS .NET Provider: How to disable CDX auto open
Message-ID<me9bjl$6p6$1@news.albasani.net>
In VO there is an option to disable CDX file auto open. Is there a method to 
do same when the ADS .NET Provider?

I need this functionality because the CDX contains user-defined functions 
that ADS does not know about and thus causing ADS to throw an exception.

BTW, I am using C# with the ADS provider.

Jamal 

[toc] | [next] | [standalone]


#7889

From"Joachim Duerr (ADS)" <jojo.duerr@gmx.de>
Date2015-03-19 14:33 +0000
Message-ID<cn051hFr9kqU1@mid.individual.net>
In reply to#7879
Jamal Assaf wrote:

>In VO there is an option to disable CDX file auto open. Is there a
>method to do same when the ADS .NET Provider?
>
>I need this functionality because the CDX contains user-defined
>functions that ADS does not know about and thus causing ADS to throw
>an exception.
>
>BTW, I am using C# with the ADS provider.

You can't disable autoopen indexes with ADS. The only way to implement
this is to rename the index file so it won't match the table base name
(or move it to a different folder).

-- 
Joachim Duerr, Advantage Presales

ADS books available on http://pocketguide.jd-engineering.de

[toc] | [prev] | [next] | [standalone]


#7890

From"Jamal Assaf" <someone@example.com>
Date2015-03-19 10:58 -0400
Message-ID<meeo5q$apv$1@news.albasani.net>
In reply to#7889
Hi Joachim,

That's exactly what I ended up doing by renaming the cdx file temporarily, 
but I thought maybe I missed some built-in method.

Thanks,
Jamal


"Joachim Duerr (ADS)"  wrote in message 
news:cn051hFr9kqU1@mid.individual.net...

Jamal Assaf wrote:

>In VO there is an option to disable CDX file auto open. Is there a
>method to do same when the ADS .NET Provider?
>
>I need this functionality because the CDX contains user-defined
>functions that ADS does not know about and thus causing ADS to throw
>an exception.
>
>BTW, I am using C# with the ADS provider.

You can't disable autoopen indexes with ADS. The only way to implement
this is to rename the index file so it won't match the table base name
(or move it to a different folder).

-- 
Joachim Duerr, Advantage Presales

ADS books available on http://pocketguide.jd-engineering.de 

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.clipper.visual-objects


csiph-web