Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 6085 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

Could not find this, if there is a thread about this please point me in the right direction.

I have a value list that displays only related data. It shows data from 2 fields. First field is text and the second is number (formated as currency). The field in which it resides is text. Value list itself works perfectly. the problem is that is shows:

Item1 6

Item2 7

Item3 8

How would I format it to show

Item1 $6.00

Item2 $7.00

Item3 $8.00

or

Item1 - $6.00

Item2 - $7.00

Item3 - $8.00

Posted (edited)

FileMaker will only store what is actually in the Field.

In other words, the value list is reflecting what was entered. It does not reflect the trailing zeros, even if you have formatted the field that way. Try typing in $6.00 in the field and see what shows.

6 will be 6

$6.00 will be $6.00

HTH

Lee

Edited by Guest
Posted

You could create a calculation field (result is Text) =

"$" &

Int ( Number )

& "." &

Right ( "00" & Number * 100 ; 2 )

and use it in your value list.

Posted (edited)

Wow - beautiful and simple. Thanks so much. Works perfectly.

Since on the topic how would I align the value list?

Instead of showing:

Value1 $5.00

LongerValue $6.00

To show:

Value1      $5.00

 LongerValue $6.00

Edit: I could just add empty spaces in my text calc and align it that way (I know what longest value will be but I would rather have it formated as shown to the longest value currently in the list)

Edited by Guest
Posted

I don't think that's possible. You might consider other options, such as popping up a new window with a list view or a portal with the values for the user to select from.

Posted

The value list is in portal already. Will just have to do without it being aligned. It would be a cool feature if it would be possible.

Thanks.,

Posted

The value list is in portal already.

I presume you mean the field to set is in a portal. I don't see why it would matter. You can still format the field as a button that will pop up a new window, wait for user to select a value, and set the clicked field to the selected value.

Posted

Yes, the field is set in a portal. It is to enter line items (orders) so it is useful when someone wants to order item X they enter X and tab into the next field (the value list) and it shows available vendors and costs. I just wanted to try to align as it looks better visually - easier to see.

I am thinking if I set it up as you suggested - I will loose on the speed of input by the user as orders can sometimes have up to 100 items. I will test it out, rather will give it to end users to test to see what they like better and will decide based on they say.

Posted

Well, you cannot align a value list, so something's gotta give. If you want speed, maybe you should have the other portal permanently available on the layout, and have a script create a line item when user clicks on a product.

Posted

Thanks., will keep the un-aligned value list.

This topic is 6085 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.