dbTalk Databases Forums  

values list

comp.databases.filemaker comp.databases.filemaker


Discuss values list in the comp.databases.filemaker forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Ursus
 
Posts: n/a

Default values list - 10-22-2006 , 07:06 AM






FM 8.5 Adv, win XP

When I create a value list with unchanging values, I enter them manually in
the valuelist defnition window.
When I want a changing set I use a table (or a related table).

With predefined value lists I enter the values I need in the order I want,
seperated by a line when needed.
The problem arises when I want the same behavior, but now through a list in
a table.

When I enter the values (one record per value):

One
Two
Three
Zero
-
Banana
Apple

I want to keep the order like that. It now appears as:
-
Apple
Banana
One
Three
Two
Zero

The sorting order is disabled.

And on top of this I would like to be able to give different colors to
different parts within one value list. Say blue to the numbers and dark-red
to the fruit.

Ursus



Reply With Quote
  #2  
Old   
Matt Wills
 
Posts: n/a

Default Re: values list - 10-22-2006 , 12:59 PM






In article <453b5ee0$0$53786$dbd4b001 (AT) news (DOT) wanadoo.nl>,
"Ursus" <ursus.kirk (AT) wanadoo (DOT) nl> wrote:

Quote:
FM 8.5 Adv, win XP

When I create a value list with unchanging values, I enter them manually in
the valuelist defnition window.
When I want a changing set I use a table (or a related table).

With predefined value lists I enter the values I need in the order I want,
seperated by a line when needed.
The problem arises when I want the same behavior, but now through a list in
a table.

When I enter the values (one record per value):

One
Two
Three
Zero
-
Banana
Apple

I want to keep the order like that. It now appears as:
-
Apple
Banana
One
Three
Two
Zero

The sorting order is disabled.

And on top of this I would like to be able to give different colors to
different parts within one value list. Say blue to the numbers and dark-red
to the fruit.

Ursus
Not much choice here.

You can control the order if you "hardwire" the list manually. FileMaker
will sort it if you use a list derived from a field. Just the way it is.

The colors thing is interesting. I don't see any way to change the color
of a value list unless you change the color of the field. You could
script a change to the field's attributes (which would result in a
change to the dropdown/popup), perhaps using EventScript or zippScript
to execute automatically, but I don't see any way to have multiple
colors in a single field as you suggest.

M

M


Reply With Quote
  #3  
Old   
Bill Marriott
 
Posts: n/a

Default Re: values list - 10-22-2006 , 05:32 PM



You can force a certain sort order in this situation by using a second
field, a number field, with the sort priority. Kind of like line numbers in
a BASIC program. For value lists, use the technique of sorting by the
numeric field but showing the second field. Either at the value list level
or the relationship level.

"Matt Wills" <Im (AT) Witz (DOT) End> wrote

Quote:
In article <453b5ee0$0$53786$dbd4b001 (AT) news (DOT) wanadoo.nl>,
"Ursus" <ursus.kirk (AT) wanadoo (DOT) nl> wrote:

FM 8.5 Adv, win XP

When I create a value list with unchanging values, I enter them manually
in
the valuelist defnition window.
When I want a changing set I use a table (or a related table).

With predefined value lists I enter the values I need in the order I
want,
seperated by a line when needed.
The problem arises when I want the same behavior, but now through a list
in
a table.

When I enter the values (one record per value):

One
Two
Three
Zero
-
Banana
Apple

I want to keep the order like that. It now appears as:
-
Apple
Banana
One
Three
Two
Zero

The sorting order is disabled.

And on top of this I would like to be able to give different colors to
different parts within one value list. Say blue to the numbers and
dark-red
to the fruit.

Ursus

Not much choice here.

You can control the order if you "hardwire" the list manually. FileMaker
will sort it if you use a list derived from a field. Just the way it is.

The colors thing is interesting. I don't see any way to change the color
of a value list unless you change the color of the field. You could
script a change to the field's attributes (which would result in a
change to the dropdown/popup), perhaps using EventScript or zippScript
to execute automatically, but I don't see any way to have multiple
colors in a single field as you suggest.

M

M



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.