Click here to Skip to main content
15,915,319 members
Home / Discussions / Database
   

Database

 
GeneralCDao MFC classes and a Access 97 DB Pin
Phil.Benson29-Jan-04 21:46
professionalPhil.Benson29-Jan-04 21:46 
GeneralRe: CDao MFC classes and a Access 97 DB Pin
Steve S10-Feb-04 6:27
Steve S10-Feb-04 6:27 
GeneralRe: CDao MFC classes and a Access 97 DB Pin
Phil.Benson10-Feb-04 20:27
professionalPhil.Benson10-Feb-04 20:27 
GeneralRe: CDao MFC classes and a Access 97 DB Pin
Phil.Benson11-Feb-04 1:40
professionalPhil.Benson11-Feb-04 1:40 
GeneralC++ and Database Pin
vin29-Jan-04 19:07
vin29-Jan-04 19:07 
GeneralRe: C++ and Database Pin
basementman30-Jan-04 10:30
basementman30-Jan-04 10:30 
Generalcalculate datacolumn Pin
Member 57546929-Jan-04 18:12
Member 57546929-Jan-04 18:12 
GeneralRe: calculate datacolumn Pin
-Dr_X-30-Jan-04 17:31
-Dr_X-30-Jan-04 17:31 
I had problems as well updating a join table dataset. What I did is simple check the .HasChanges (I think) property and update each table individually in a transaction.

try
  'Begin a transaction
  '......
  If ds.Table(0).HasChanges then
    'Update table(0)
  end if
  if ds.Table(1).HasChanges then
    'Update table(0)
  end if
  'commit the transaction
  '.....
catch ex
  'Rollback the transaction
  '.....
finally
  'set any variable to nothing
  '.....
end try


Hope this is helpful.
Michael
GeneralProblem of ADO Recordset Pin
Member 55036929-Jan-04 17:37
Member 55036929-Jan-04 17:37 
GeneralUsing List Control with ADO Pin
girl_lash29-Jan-04 16:59
girl_lash29-Jan-04 16:59 
GeneralRetrieving autonumber when inserting data in a table Pin
Anonymous29-Jan-04 9:10
Anonymous29-Jan-04 9:10 
GeneralRe: Retrieving autonumber when inserting data in a table Pin
Guillermo Rivero29-Jan-04 9:12
Guillermo Rivero29-Jan-04 9:12 
GeneralRe: Retrieving autonumber when inserting data in a table Pin
Anonymous30-Jan-04 23:53
Anonymous30-Jan-04 23:53 
GeneralRe: Retrieving autonumber when inserting data in a table Pin
-Dr_X-31-Jan-04 3:59
-Dr_X-31-Jan-04 3:59 
GeneralRe: Retrieving autonumber when inserting data in a table Pin
Guillermo Rivero31-Jan-04 4:09
Guillermo Rivero31-Jan-04 4:09 
GeneralRe: Retrieving autonumber when inserting data in a table Pin
Guillermo Rivero31-Jan-04 4:03
Guillermo Rivero31-Jan-04 4:03 
GeneralRe: Retrieving autonumber when inserting data in a table Pin
Anonymous31-Jan-04 10:18
Anonymous31-Jan-04 10:18 
GeneralADO Pin
monrobot1329-Jan-04 8:50
monrobot1329-Jan-04 8:50 
GeneralRe: ADO Pin
RChin30-Jan-04 4:05
RChin30-Jan-04 4:05 
GeneralRe: ADO Pin
monrobot1330-Jan-04 9:19
monrobot1330-Jan-04 9:19 
GeneralSP that support data Paging Pin
Aryo Handono29-Jan-04 3:32
professionalAryo Handono29-Jan-04 3:32 
GeneralRe: SP that support data Paging Pin
michanne29-Jan-04 4:09
michanne29-Jan-04 4:09 
GeneralRe: SP that support data Paging Pin
basementman30-Jan-04 10:36
basementman30-Jan-04 10:36 
GeneralSame code running slower second time Pin
obelisk2928-Jan-04 11:37
obelisk2928-Jan-04 11:37 
GeneralRe: Same code running slower second time Pin
Aryo Handono29-Jan-04 3:14
professionalAryo Handono29-Jan-04 3:14 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.