BS dw transaction

Address different data sources (only via ODBC) with the transaction system.

First, initialize the transaction system.

dw_1.transaktion.init

 

init

Initialize

dsn

DSN Connect string

userid


dbpass


dbparm


servername


dsn


connect

Connect

disconnect

Disconnect. This command must be used.

settransobject

Set transaction to the DataWindow.

destroy

Destroy.

select

Execute a Select SQL statement with this transaction.

delete

Execute a Delete SQL statement with this transaction.

update

Execute a Update SQL statement with this transaction.

execute

Execute the SQL statement with this transaction.

blobread

 

blobread=nr  

Reads a blob. The blob name will be returned.

For more information see blobread.

blobwrite

blobwrite=nr=file    

Writes a blob. If "nr=leer" then it is a new entry.

It will return "nr". More informations see blobwrite.

 

hmtoggle_plus1Example: Connection with external data source