Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 2106

Re: Declaring Arrays in PB 12.5.1

$
0
0

In addition to Tobias reply. If you don't like to create additional datawindow object for your external datawindow, you can just create the bare bones of the datawindow definition and use it as a datastore.

 

Such as:

 

string ls_syntax, ls_error
datastore lds_temp
ls_syntax = 'release 10; datawindow( units = 0 ) ' + &            'table(column=(type=char(256) updatewhereclause=no name=s_country_code dbname="s_country_code" ) ' + &       'column=(type=char(256) updatewhereclause=no name=s_state_province2 dbname="s_state_province2" ) ' + &   'column=(type=char(256) updatewhereclause=no name=s_city2 dbname="s_city2" ))'  
lds_temp = create datastore
lds_temp.create(ls_syntax,ls_error)

hth,

Neil


Viewing all articles
Browse latest Browse all 2106

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>