
Changing field order on form with multiple tabs
Hi Michael,
On Mon, 22 Feb 1999 20:37:48 -0800, Michael Earl
Quote:
>C5 generated a tab for each different key of a file in a browse. I was
>suprised last night when I attempted to change the field order for each
>tab so that the first field was the field(s) of the key for that tab --
>and found that if you change the field order it applies to all tabs. So
>my question is, how do you using different field ordering for each tab?
The browse is the same for all tabs - i.e. there is only one listbox
control. The different keys are controlled in the "Actions" tab for
the browse control, where it uses Choice(?CurrentTab) = x in the
"Conditional behaviour" to determine the key to use. You need to do
the same in the "NewSelection" embed for the sheet control, something
like:
Case Choice(?CurrentTab)
Of 1
?List{Prop:Format} = '...'
Of 2
?List{Prop:Format} = '...'
! Etc for each tab
End
Best regards,
Arnor Baldvinsson
[Team Topspeed - Internet Connect]
Allerup Edb
Denmark
Check out Icetips and Icetips Knowledgebase
http://www.icetips.com
UIN nr.: 2428601