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

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

Recommended Posts

Posted

I just need a little help. I am trying to figure out on how to add a dotted line before words in a field. Say for example (the field in red is what I want automatically changed)}:(

Measurements: [color:red].............7.45 x 5.46 x 2.53 mm

Measurements: [color:red].......................0.76 x 1.26 mm

I would like the dots to be autimatically added or subtracted in the length of the field before the word or numbers.

Thank you

Posted

Is this all in the same field, or is it a text object with the field merged? In any case, this is done with a right tab, with a period selected as the fill character in the tab definition.

Posted (edited)

You could also use the Right Function if you wanted.

I would use the Auto Enter by Calculation, or a second field with a calculation, something like this,

Right ( text & "....................................................." & text; 30 )

Adjust the dots, and the "30" to fit your need.

If you need help with the Auto Enter Calculation, let me know.

Lee

Edited by Guest
Posted

Or

Right( Substitute( 10^(30 - Length(yourField)), "0", "." ) & yourField, 30 )

to allow easy changes to the number of periods used.

You would have to use a monospaced font to ensure everything lines up nicely.

Posted

I forgot to mention that the word Meassurements: is just text on the layout. The actual measurements is a separate field extending towards the text.

Right( Substitute( 10^(30 - Length(Measurements)); "0"; "." ) & Measurements; 30 )

Would that be correct and this would be a new calculation field on top of the field (measurements) I already have?

Thank again.

Posted

I tried the Tabs button. Though not sure I got it correct cause nothing happened.

I right clicked on the field then clicked Text formatt.... Then I clicked on paragraph... Then to Tabs... From here I clicked on Right then made the position to 1.00 px and set the fill character to a period.

Posted

Yeeaaa so I tried the Tabs field and still doesn't work for me. I feel FM challenged right now. Well all I need are those dots before the word or number (since I aligned the text in the field to the Right) to extend the designated length of the field. Thank again for all the replies anyways.

Posted (edited)

Is there some requirement that you have dots before the numbers? Why not make it easy and use a gray line running the whole length or set the field to display text baselines and make the field the whole width?

Or you could just use a calc'd field as others have said, but just have a leading 100 dots followed by the actual field.

Edited by Guest

This topic is 6069 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.