Skip 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.

Phone Log, pull date if field meets criteria

Featured Replies

I have a large database, with a separate relationship/table called phone log, we store all phone logs in this table and it is linked to the main database via the Customer Number Field.

This phone log stores auto-enter dates, typed phone log messages, has a container field for documents, and a Document title field. etc.

 

within my main database, I'm trying to create a field that says (if the document title contains the word "application" then display the auto enter date that corresponds to this record.

 

Any thoughts?

Hi Matt,

 

In the log table create a field  isApp  log::document_title = "application" 

 

Only the records in the log table that are "apps" would have a boolean flag of 1 if it is true

 

In your main table you could have a field "constant" that = 1 then create a multi predicate key relationship

 

customerNum = customerNum AND contant = isApp 

 

you could then create a calculation in the main table Max ( DATE_AUTO_ENTER) this would give you the Maximum date of the applications should you have multiple in the log table.

 

There are possible other ways to tackle this but need more caffeine  first. 

  • Author

Thanks Ocean West! 

So, if I'm understanding correctly... create a field in the Phone Log Data Table, as a calculation field with the calculation isApp  phonelogdata::document_title = "application" 

 

Then create another field in the main table that is a calculation field also with the calculation: customerNum = customerNum AND contant = isApp 

 

Then create the auto enter date calculation?

 

I'm a bit of a novice so some things are hard to follow.

 

My original thought on this, was to create a duplicate phone log data table, and create a relationship between the document field, and create a new document field in my original database. then within the original database pull the date field from the phone log data table that matches up to application... but it hasn't worked so far

Hey Matt, 

 

Here is a quick sample file that may better show the structure for what i think you are trying to achieve.

 

phoneLog.fp7.zip

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

Search

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.