Hi all,
I am trying to use a tCursor to append some information onto another table.
The code I am using can be seen below:
dthandle.SetSource ("Bolt Import.db"
if dthandle.getSourceType ( ) = DTASCIIFixed Then
dthandle.loadDestSpec ( "SpecTable" )
endIf
dthandle.setDest ( "Bolt Import1.db" )
if not dthandle.getAppend ( ) then
dthandle.setAppend ( True )
endif
dthandle.transferData ( )
Bolt Import.db is a table that is created under the same button through a query, whilst Bolt import1.db is a table that always exists.
The code does not bring up any errors but it does not seem to be doing anything at all. I have used this code countless times before and it has worked and if I place it under a button of its own it also works but it does not work under the current button which contains other code.
Any help would be appreciated,
Thanks,
Woody.
I am trying to use a tCursor to append some information onto another table.
The code I am using can be seen below:
dthandle.SetSource ("Bolt Import.db"
if dthandle.getSourceType ( ) = DTASCIIFixed Then
dthandle.loadDestSpec ( "SpecTable" )
endIf
dthandle.setDest ( "Bolt Import1.db" )
if not dthandle.getAppend ( ) then
dthandle.setAppend ( True )
endif
dthandle.transferData ( )
Bolt Import.db is a table that is created under the same button through a query, whilst Bolt import1.db is a table that always exists.
The code does not bring up any errors but it does not seem to be doing anything at all. I have used this code countless times before and it has worked and if I place it under a button of its own it also works but it does not work under the current button which contains other code.
Any help would be appreciated,
Thanks,
Woody.