🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

ADOCommand

#764
From: James Peterson
Date: Fri, 08 Apr 2005 13:11
14 lines
1392 bytes
 is there a way to insert a Stream into an ADOCommand ?

Forexample
you have a RichText1 and you wanted to save it with formating into the
following ADOCommond.

  comdtext = "insert into data (ItemNumber, UserLog, Date, Time,
SerializedDate, SerializedTime, "+fields;
  comdtext += ")values('"+ItemNo+"','"+userID+"','"+dated+"','"+timed+"',
"+SerialDate+", "+SerialTime+", ";
  comdtext += values+")";
  ADOCommand2->CommandType = cmdText;
  ADOCommand2->CommandText = comdtext;
  ADOCommand2->Execute();
Technical Details
Message-ID: <42568316$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news2.google.com!proxad.net!proxad.net!194.117.148.138.MISMATCH!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 10698b,1dcb39184a9818bb,start
X-Google-Attributes: gid10698b,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "James Peterson" <jpeterson@romanmealmilling.com>
Newsgroups: borland.public.cppbuilder.database.ado
Subject: ADOCommand
Date: Fri, 8 Apr 2005 08:11:51 -0500
Lines: 16
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4522.1200
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200
NNTP-Posting-Host: 64.21.236.129
Message-ID: <42568316$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1112965910 64.21.236.129 (8 Apr 2005 06:11:50 -0800)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news2.google.com!proxad.net!proxad.net!194.117.148.138.MISMATCH!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail