p2p.wrox.com Forums

Need to download code?

View our list of code downloads.


  Return to Index  

activex_data_objects thread: Active X datacontrol from MSDN Partial Books, Beginning VB


Message #1 by "Harry Betlem" <bedlam@h...> on Thu, 19 Apr 2001 16:52:02 +0200
Hi,



I've been going to the steps of Chapter 12 from the above metioned book (Which

is in the MSDN collection January 2001) in order to get the DataCtl.ocx.



I followed the steps as described in the chapter, the result looks nice, but

the actual updating of the underlying database (Biblio.mdb) seems not to work.

As long as I am in the project and add or delete or change records, all seems to

be perfect. As soon as I quit, and restart the VB project, the changes i made

are simply not there, even checking the original database (Biblio.mdb) shoows no

signs of changes.

Where did I go wrong?



Or is there sometning missing in the steps I followed?



Any help in this would be welcome.



Harry Betlem

bedlam@h...







Message #2 by "Pete Davis" <pdavis@q...> on Thu, 19 Apr 2001 11:55:07 -0400
The problem may be that you're not committing the transaction. If you make

updates to the database, you need to do a commit. I haven't used

DataCtl.ocx, so I can't tell you exactly how to do it, but I would imagine

it's in there somewhere.



Pete





----- Original Message -----

From: "Harry Betlem" <bedlam@h...>

Newsgroups: activex_data_objects

To: "ActiveX_Data_Objects" <activex_data_objects@p...>

Sent: Thursday, April 19, 2001 10:52 AM

Subject: [activex_data_objects] Active X datacontrol from MSDN Partial

Books, Beginning VB





> Hi,

>

> I've been going to the steps of Chapter 12 from the above metioned book

(Which

> is in the MSDN collection January 2001) in order to get the DataCtl.ocx.

>

> I followed the steps as described in the chapter, the result looks nice,

but

> the actual updating of the underlying database (Biblio.mdb) seems not to

work.

> As long as I am in the project and add or delete or change records, all

seems to

> be perfect. As soon as I quit, and restart the VB project, the changes i

made

> are simply not there, even checking the original database (Biblio.mdb)

shoows no

> signs of changes.

> Where did I go wrong?

>

> Or is there sometning missing in the steps I followed?

>

> Any help in this would be welcome.

>

> Harry Betlem

> bedlam@h...

>

>

>

>




$subst('Email.Unsub')




  Return to Index