BS dw export / import

 

 

saveas=typ=file

 

Export in the following formats:

excel, html, text, clipboard, dbase,csv, wmf, psr

dw_2.saveas=excel=c:\temp\test.xls

saveasascii

dw_1.saveasascii=filename=separatorcharater(optional)=quotecharacter(optional)=lineending(optional)=retainnewlinchar(optional)

Saves the contents of a DataWindow into a standard ANSI text file.

saveasformattedtext

dw_1.saveasformattedtext=filename=encoding(optional)=separatorcharater(optional)=quotecharacter(optional)=lineending(optional)=retainnewlinchar(optional)

Saves the contents of a DataWindow into a standard text file with custom formatting.

loadpsr=file

 

Load psrfile into the current window (only data, not formats)

Example:

// savescript

dw_1.saveas=psr=test.psr

// loadscript

dw_1.loadpsr=test.psr

The items from source and destination must be the same!

Only psr-Files!

importfromdbstring=<value>

import from value, which is exportet widh "saveas=dbstring"

Example

dw_1.saveas=dbstring

dw_2.importfromdbstring=<value>

importfromdbfile=<filename>

Import from file in beas dbstring-format

 

 

hmtoggle_plus1saveasascii

 

hmtoggle_plus1saveasformattedtext