Razzak -
>You are looking at the wrong place <g>.
>
>The ONLY source of up-to-date R:BASE documentation:
>
>http://www.RSyntax.com
Having the documentation on line certainly does give one some quick
fix advantages. <g back>
It works VERY nicely. I've only tested it in Windows so far and if
one hides a column it stays hidden. If one changes the size of a column it
stays changed. However, it does not retain column reordering. Column color
changes are retained.
Questions:
1) Is the LAYOUT stored with the table definition or in a table of its own?
It is stored in the 2 column table SYS_LAYOUTS. The columns are
SYS_LAYOUT_NAME and SYS_LAYOUT_DATA. SYS_LAYOUT_NAME stores the table name
and RBase system type, DOS or Windows. SYS_LAYOUT_DATA contains the column
names and the condition definitions for the columns. Somewhere there surely
exists documentation which will tell us what these arguments are and how to
use them. Also it appears that an order of appearance argument could
probably be added although there are no doubt higher priority items to be
handled.
2) Are different LAYOUTs stored for DOS and for Windows versions or do they
share?
They are stored differently. You can have a DOS layout and a
Windows layout for the same table which are quite different and operating
simultaneously. The DOS and Windows LAYOUT definitions for a given table
occupy different rows in the SYS_LAYOUTS table. Windows LAYOUT definitions
are denoted by RBWIN65.tablename in SYS_LAYOUT_NAME. DOS LAYOUT definitions
are denoted by .tablename in SYS_LAYOUT_NAME. Windows of course has a much
larger range of column foreground/background colors than does DOS. In a
multiuser situation the LAYOUT applies to all users who EDIT/BROWSE the
table at the same time. I haven't yet figured out who, in a multi-user
situation, gets to change the LAYOUT and how those changes will be applied
or saved.
Bernie