🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

ADO locate record gives Multi-Step Operation Generated Errors

#471
From: Caleb
Date: Wed, 17 May 2006 12:04
20 lines
1424 bytes
I am trying to see if a record already exists.  Here is the code I am
using, any help would be appreciated.  It gives the error stated in
the subject.  The error occurs after the Locate statement.

    if(ADOTab->Active == true)
       ADOTab->Active = false;



    ADOTab->CursorLocation = clUseClient;
    ADOTab->TableDirect = true;
    ADOTab->TableName = "Auctions";

    ADOTabAuctions->Active = true;

    TLocateOptions Opts;

    Opts.Clear();

   if(ADOTab->Locate("ItemNo", Variant(edtItemNo->Text), Opts)){}
Technical Details
Message-ID: <p14m62lotd7q7gcn53c21urh58d94ocb88@4ax.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news.glorb.com!newsfeed0.kamp.net!newsfeed.kamp.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 10698b,1344424e9b1a269a
X-Google-Attributes: gid10698b,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: Caleb <nospam@nospam.net>
Newsgroups: borland.public.cppbuilder.database.ado
Subject: ADO locate record gives Multi-Step Operation Generated Errors
Date: Wed, 17 May 2006 08:04:19 -0400
Reply-To: nospam@nospam.net
Message-ID: <p14m62lotd7q7gcn53c21urh58d94ocb88@4ax.com>
X-Newsreader: Forte Agent 2.0/32.652
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 71.99.9.44
X-Trace: newsgroups.borland.com 1147867441 71.99.9.44 (17 May 2006 05:04:01 -0700)
Lines: 20
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news.glorb.com!newsfeed0.kamp.net!newsfeed.kamp.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail