Printing Dictionary Items (OpenInsight Specific)
At 17 DEC 2001 10:24:28AM Steve Carlson wrote:
Is there an easy way to change the fields printed when
"Print Dict Listing" is selected from the Table Builder.
I would like to include the display length and leave out the
S/Multi field….
Thanks
Steve C.
At 17 DEC 2001 11:51AM Oystein Reigem wrote:
Steve,
With List_Dict you can specify which columns to list, and which columns to sort on. The listing doesn't go directly to the printer, but that shouldn't be any problem. See . I assume you can use the following parameter values:
'column_data_type'
'column_display_len'
'column_foreign_name'
'column_foreign_type'
'column_just'
'column_master'
'column_name'
'column_part'
'column_pos'
'column_type'
'master_flag'
'table_database_id'
'table_foreign_name'
'table_name'
- Oystein -
At 17 DEC 2001 05:01PM James Birnie wrote:
Hi Steve,
LIST_DICT crashes on my machine (Win2000, OI 3.7.2) if the table being called is greater than 20 characters, so I wrote a new one. Its easy enough to REDUCE the dictionary of the file you are querying to get the fieldnames - I'd suggest sorting by the following:
'COLUMN_POS':@FM:'COLUMN_PART':@FM:'COLUMN_NAME'
then extract whatever information you want (generally from %FIELDS%) and display it appropriately.