spand Posted February 5, 2018 Share Posted February 5, 2018 Hi, what is a general approach in FM for calculating values without storing them in database? Can I add values from 2 fileds and print a result? Link to comment Share on other sites More sharing options...
Fitch Posted February 5, 2018 Share Posted February 5, 2018 Yes you can do that with button bars. Link to comment Share on other sites More sharing options...
rwoods Posted February 5, 2018 Share Posted February 5, 2018 As Fitch said, the only way to display something on a layout that is not stored in a field or global variable is the use a button bar, since you can display the result of a calculation on the text of the button. You can use any calculation for the text of the button, and it will be updated on screen. You can format the button bar in any way you wish, and you can also make the button do 'Nothing' and not even look like a button. Link to comment Share on other sites More sharing options...
spand Posted February 5, 2018 Author Share Posted February 5, 2018 Thanks rwoods. Could you be so kind and provide a basic example within attached file? example.fmp12 Link to comment Share on other sites More sharing options...
Steve Martino Posted February 5, 2018 Share Posted February 5, 2018 Here ya go exampleSMmod.fmp12 Link to comment Share on other sites More sharing options...
Fitch Posted February 5, 2018 Share Posted February 5, 2018 9 hours ago, rwoods said: As Fitch said, the only way ... I didn't say it was the only way. Link to comment Share on other sites More sharing options...
rwoods Posted February 6, 2018 Share Posted February 6, 2018 Apologies @Fitch, I did put words into your mouth. As far as I know it is the only way to have FileMaker show a dynamic/changing value on a layout that is not stored in a global or a field. Link to comment Share on other sites More sharing options...
Fitch Posted February 6, 2018 Share Posted February 6, 2018 I think button bars are generally a good way to go, but e.g., merge variables, virtual lists, and web viewers are possibilities. Link to comment Share on other sites More sharing options...
Recommended Posts
This topic is 2232 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 accountSign in
Already have an account? Sign in here.
Sign In Now