Problem updating a recordset after changing the data in a formatted databound textbox 
Author Message
 Problem updating a recordset after changing the data in a formatted databound textbox

I have a group of textboxes bound to several fields in an Access 97 table
using ADO in VB 6 on win9x machines. The textboxes are using the standard
percent format ("0%" format string). They work fine until the user tries to
change the values in the textboxes. When it goes to update we get the
'The change was canceled during notification; no columns are changed'
run-time error. If I remove the formatting we can change and update the new
values just fine but we would really like to have the data formatted  if
possible. Anyone know what I'm doing wrong?

Chris Lande
Pyromation Inc.



Mon, 28 Jan 2002 03:00:00 GMT  
 Problem updating a recordset after changing the data in a formatted databound textbox
1st question is, have you updated to the latest service pack?
2nd Question, why are you linking text boxes to data fields? This is a real
sticky wicket. Use code rather than a data control. Data Controls can cause
more problems than they resolve.
And beware of ADO it isn't fully functional yet and not totally supported by
MS, as is mentioned in certain books and journals.

--
VB Code Samples
http://www.tigerbites.com/



Tue, 29 Jan 2002 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Problem updating a recordset after changing the data in a formatted databound textbox

2. How can I Update an ADO (Databound) Recordset

3. How can I Update an ADO (Databound) Recordset

4. Updating an ADO recordset from user-changed data in DataGrid

5. Problems formatting recordset data

6. open recordset, change connection, update recordset?

7. Databound Grid and Query : update problem

8. Databound controls and problems with cancelling update

9. Field Format change in recordset

10. ADO Recordset changing date format

11. ADO Recordset changing date format

12. Recordset value changes with .update

 

 
Powered by phpBB® Forum Software