comp.lang.ada
 help / color / mirror / Atom feed
From: "Stephane Richard" <stephane.richard@verizon.net>
Subject: Re: Writing Ada records to MS Access
Date: Fri, 15 Aug 2003 23:04:14 GMT
Date: 2003-08-15T23:04:14+00:00	[thread overview]
Message-ID: <OFd%a.627$N37.478@nwrdny02.gnilink.net> (raw)
In-Reply-To: iEb%a.122765$Oz4.25430@rwcrnsc54

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1173 bytes --]

Hi Tom, based on the code in the URL that he gave you, you'd just need to
replace:

QueryString   : Char_Array := To_C("Select * from CallList");

with
QueryString   : Char_Array := To_C("Insert Into CallList (FieldName1,
FieldName2) values (NumberValue1, 'StringValue2') ");

Depending on the structure of CallList, which I couldn't see :-).

and you should be un business to do your insert

--
St�phane Richard
Senior Software and Technology Supervisor
http://www.totalweb-inc.com
For all your hosting and related needs
"Tom Moran" <tmoran@acm.org> wrote in message
news:iEb%a.122765$Oz4.25430@rwcrnsc54...
>
>
> Chad R. Meiners wrote:
> > In an NT-type system you should have a control panel icon that allows
you to
> > setup up ODBC connections.  Setup a ODBC connection to an Access
database.
> > Use one of packages that allow you to bind to ODBC to open the
connection.
> > Build the tables and records using the SQL commands.
> >
> > See
> > http://www.adapower.com/os/odbc.html
> > for an example of how to use the win32 ODBC binding.
> >
> > -CRM
> >
> >
>    That page shows reading ("select").  Can you point to a working
> example of writing/updating?
>





      parent reply	other threads:[~2003-08-15 23:04 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-13 14:58 Writing Ada records to MS Access Brien L. Christesen
2003-08-13 18:18 ` Tarjei T. Jensen
2003-08-13 18:37 ` Chad R. Meiners
2003-08-15 20:46   ` Tom Moran
2003-08-15 21:18     ` Chad R. Meiners
2003-08-15 23:04     ` Stephane Richard [this message]
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox