Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

I have these  fields

amount 1  Currency 1(value list USD; CDN)

amount 2  Currency 2

amount 3 Currency 3

amount 4  Currency 4

total CDN ; Total USD

  which function I used that when in put on amount 1 and select any currency (USD or CDN) it's to add in currency I chose.

please some one help  

In general, having numbered fields is poor structure. If an entity (represented by a record in your current table) can have multiple amounts, then you should create a separate record for each amount in a related table.

Once you have done that, there are several methods you can use to sum the different currencies separately - depending, among other things, on what these sums will be used for. For display only, you could use a summary field placed inside a filtered portal. If you need them for export, or for further calculations, then it gets a bit more complicated (unfortunately, Filemaker has no built-in SUMIF function).

---
P.S. Please give your questions more descriptive titles.

 

Edited by comment

  • Author

I try to make app that includes six field indicates amount.  sometime my customer pay in US and sometime in Canadian when they pay US with currency field I want that when I change to change to usd amount field calculate all amount in total field in USD Total field 

and when I change currency into CDN

it calculate into Cdn total .( these are two total fields)

important. 
some time all six field of Amount ( Which are amount 1 to Amount 6 all are in USD 

and other time all are in Canadian 

it there is a way in calculating or any function or functions I set total field 

 

1 hour ago, saghira said:

it there is a way in calculating or any function or functions I set total field 

Yes, there is a way, but it is over-complicated. It is over-complicated because your structure is incorrect. That's why I am trying to steer you towards changing it. 

If you insist on keeping your current structure, you will have to make your total fields calculation like:

Sum (
If ( Currency1 = "USD" ; Amount1 ) ;
If ( Currency2 = "USD" ; Amount2 ) ;
If ( Currency3 = "USD" ; Amount3 ) ;
If ( Currency4 = "USD" ; Amount4 ) ;
If ( Currency5 = "USD" ; Amount5 ) ;
If ( Currency6 = "USD" ; Amount6 ) 
)

for the Total USD field, and likewise for the other.

 

Edited by comment

  • Author

Thank you 

Create an account or sign in to comment

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.