🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.database.ado
Article #2696

Re: ADO error

#2696
From: Wheasle
Date: Wed, 09 Apr 2003 04:26
48 lines
2398 bytes
It sounds like you either haven't copied the database across to the other PC
or you have problems locating it on their PC.

Check the location of the underlying database and how it is pointed to, have
you got a fixed address or are you looking in the application directory.  If
you are using relational addressing then check to confirm the drive or
directory haven't been inadvertantly changed by something else in the
program.


BOBAH <bobah@softhome.net> wrote in message
news:3e8def25$1@newsgroups.borland.com...
> source
> switch (RadioGroup1->ItemIndex)
>   {
>   case 0:
>    Data->ADOTable1->Filtered = false;
>    Data->ADOTable1->Filter="apptype= 1 and DataTime>= "+DateToStr(Now());
>    Data->ADOTable1->Filtered = true;
>    break;
>   case 1:
>    Data->ADOTable1->Filtered = false;
>    Data->ADOTable1->Filter="apptype= 1 and DataTime>=
"+DateToStr(Now()-7);
>    Data->ADOTable1->Filtered = true;
>    break;
>   case 2:
>    Data->ADOTable1->Filtered = false;
>    Data->ADOTable1->Filter="apptype= 1 and DataTime>=
"+DateToStr(Now()-30);
>    Data->ADOTable1->Filtered = true;
>    break;
>   case 3:
>     Data->ADOTable1->Filtered = false;
>     Data->ADOTable1->Filter="apptype= 1";
>     Data->ADOTable1->Filtered = true;
>    break;
>
>   }
>
> on my PC works fine, on other PCs have error  "Item cannot be found in the
> collection corresponding to the requested name or ordinal"
>
> why?
>
> Bob
>
>
Technical Details
Message-ID: <3e939f97@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail
References: <3e8def25$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10698b,57277789b9123f39
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2003-04-08 21:27:24 PST
Reply-To: "Wheasle" <wheasled@yahoo.com>
From: "Wheasle" <wheasled@yahoo.com>
Newsgroups: borland.public.cppbuilder.database.ado
References: <3e8def25$1@newsgroups.borland.com>
Subject: Re: ADO error
Date: Wed, 9 Apr 2003 14:26:48 +1000
Lines: 50
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2314.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
NNTP-Posting-Host: 203.51.165.102
Message-ID: <3e939f97@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1049862039 203.51.165.102 (8 Apr 2003 21:20:39 -0800)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail