HP3000-L Archives

April 1999, Week 4

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
"James B. Byrne" <[log in to unmask]>
Reply To:
James B. Byrne
Date:
Fri, 23 Apr 1999 09:35:08 -0400
Content-Type:
text/plain
Parts/Attachments:
text/plain (29 lines)
On 19 Apr 99, at 21:15, [log in to unmask] wrote:

>
> I have a Visual basic 6.0 program that uses ADO to access the
> HP3000 using ODBCLink/SE version 5.56.1200.  It retrieves records
> but I cannot update/delete/add records to the database.  I have
> added the user to the DBE and set it up for mode 1.  When I use
> the recordset.supports() function in VB UPDATE, DELETE, ADDNEW
> and UPDATEBATCH all return as false.
>
> Is there something special that needs to be done to allow
> updates to Image/SQL through the ODBCLink/SE driver?
>

You are most likely going throuh the Jet engine (probably 3.5 or
3.51) and this requires that the row have a unique index to permit
updates.  There is a way to fake out VB to make it believe that
this is the case.  I will try and locate a code example for you
later this morning.

Regards,
Jim
--
James B. Byrne                   [log in to unmask]
Harte & Lyne Limited             www.harte-lyne.ca
9 Brockley Drive
Hamilton, Ontario                vox: +1 905 561 1241
Canada  L8E 3c3                  fax: +1 905 561 0757

ATOM RSS1 RSS2