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.

If statement with 3 criteria

Featured Replies

I am trying to make an if statement based on 3 fields being the same between the two tables. If all the criteria matches then information from KPMONTH_ID Table B is transferred to KFMONTH_ID Table A but it's not working. Any thoughts?

If ( TableA_Month = TableB::TB_Month and TACode = TableB::TBCode and TableA_Year = TableB::TB_Year; TableB::KFMonth_ID ; "Find Month ID")

Basically I am trying to automate transferring data from an excel file into my data base. I have my Months as a separate table from the days as they address different information. I need to track Months separate from days. Based on this I created two tables. Maybe this is over kill and Days and Months should be in the same table?

What - if any - is the relationship between the two tables?

Maybe this is over kill and Days and Months should be in the same table?

Hard to tell without knowing what are you trying to accomplish. In general, a table of months and/or days is redundant, since it carries no new information (we all know the calendar). The only item of interest is a table of events.

  • 2 weeks later...
  • Author

Gave up on the if statement and instead made a custom ID number based on a combination of fields.

This gave me the link I needed to join the two tables based on the imported information.

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.