Hi all,
I'm currently apphending a table using the coding below:
dt.SetSource ( "RouteSave.db" )
if dt.getSourceType ( ) = DTASCIIFixed Then
dt.loadDestSpec ( "SpecTable" )
endIf
dt.setDest ( "FinalRoute.db" )
if not dt.getAppend () then
dt.setAppend ( True )
endif
dt.transferData ( )
However, I want to write some code checking the table "FinalRoute.db" to see if the data I'm saving there is already present. If it is the user should get the choise of whether to replace the existing data or cancel the save.
Any ideas anyone?
Thanks,
Woody.
I'm currently apphending a table using the coding below:
dt.SetSource ( "RouteSave.db" )
if dt.getSourceType ( ) = DTASCIIFixed Then
dt.loadDestSpec ( "SpecTable" )
endIf
dt.setDest ( "FinalRoute.db" )
if not dt.getAppend () then
dt.setAppend ( True )
endif
dt.transferData ( )
However, I want to write some code checking the table "FinalRoute.db" to see if the data I'm saving there is already present. If it is the user should get the choise of whether to replace the existing data or cancel the save.
Any ideas anyone?
Thanks,
Woody.