🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

New to ADO programming please help

#5144
From: Dynamo
Date: Tue, 24 Jul 2001 19:17
29 lines
1635 bytes
Hello all, this is my first time using ADO, and really would appreciate any
help.

I have created an application in Visual Basic which works fine, however I
don't know where to start when translating into C++.  I am using Borland
Builder v3 any advice - or sites which could help me would gratefully be
accepted.

Here is the VB Code:

Public link As New ADODB.Recordset

Private Sub CommandButton1_Click()

    Set link = CreateObject("ADODB.Recordset")
    Text = "SELECT value,status FROM picomp where tag='Delivery_date' and
time=date('*')"
    link.Open Text, "dsn=pi_link"
    date= link("status")
    link.Close
    Label1.Caption = date
End Sub

I roughly know what each of the above statements do- but don't know how to
translate.

Thanks for any help.

Thanks a lot Carl.
Technical Details
Message-ID: <3b5dc929_2@dnews>
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!news.tele.dk!128.230.129.106!news.maxwell.syr.edu!newsfeed1.uni2.dk!newssuck.uni2.dk!dnews

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10698b,cf6f2fb7a04ecffc,start
X-Google-Attributes: gid10698b,public
X-Google-ArrivalTime: 2001-07-24 12:23:07 PST
From: "Dynamo" <dynamocl@libertysurf.co.uk>
Newsgroups: borland.public.cppbuilder.database.ado
Subject: New to ADO programming please help
Date: Tue, 24 Jul 2001 20:17:04 +0100
Lines: 31
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
NNTP-Posting-Host: 212.139.172.54
Message-ID: <3b5dc929_2@dnews>
X-Trace: dnews 996002089 212.139.172.54 (24 Jul 2001 12:14:49 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!news.tele.dk!128.230.129.106!news.maxwell.syr.edu!newsfeed1.uni2.dk!newssuck.uni2.dk!dnews