record is added to db but the data in the text boxes isn't 
Author Message
 record is added to db but the data in the text boxes isn't

When I converted a project to VB4 (from 3) the data controls appear to
be misbehaving now.  Data1.AddNew in the cmdAdd_Click triggers
Data1.validate then Data1.Reposition, but the text in the bound text
boxes doesn't get added to the database.

I've changed to Win95 and VB4 at the same time.  The above doesn't
happen when I use VB3.

TIA

Max



Wed, 02 Sep 1998 03:00:00 GMT  
 record is added to db but the data in the text boxes isn't
I reloaded the VB3 project into VB4 and I noticed that the MS DAO 2.5
Object Library wasn't required by any of the code or data controls I
have in the project.  Do I need to do something to unglue the VB3
database connection and to hook up to this DAO 2.5 object library.
When I opened the project in VB4, VB4 asked if it could update the
VBX pieces (I answered yes) then VB4 wanted to know If I wanted to
upgrade the database controls (I also answered yes.)

What I am considering a symptom of the problem is that if I tried to
uncheck the MS DAO 2.5 in the Tools.Reference dialog VB does nothing.
But if I try to uncheck the grid VB4 complains that I am reference the
.dll somewhere.  I am expecting the same behavior with unchecking the
DAO 2.5.  Does anyone know what is going on?

TIA
Max

Max



Fri, 04 Sep 1998 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Paint Event isn't ever called by the Rich Text Box control

2. Microsoft's OLE DB Simple Provider 1.5 Library isn't cutting it :(

3. Displaying Records in List Box as Data is input to Text Box on Form

4. I am trying to update a record, i am not using data control

5. I am trying to update a record, i am not using data control

6. Can't add records to an Access db

7. ADO newbie: db isn't updated

8. Add 1 to record position binded to text box

9. clearing text boxes after adding records

10. Saving/Adding a record using data bound text fields

11. Can't add new record to Access database with data control

12. Adding a bitmap to a Jet table: Binding an image control isn't working

 

 
Powered by phpBB® Forum Software