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.

Date validation

Featured Replies

Hi gang,

I am going nuts!

But besides that, I have a problem with one of my calculations.

In my job table I have a field called Job::Date_Received.

In my job line item table I have a price field called JLI::Price_Actual.

In my price table, I have two fields called Price::Rate_A and Price::Rate_B.

the Price_Actual field is an auto enter calc as follows:

if(Job::Date_Received < "09/12/05";Price::Rate_A;Price::Rate_B.

It doesn't work.

I used my data viewer and put in Job::Date_ Received. It showed 07/14/04.

I put in a calc that said:

if(Job::Date_Received < "09/12/05";1;0).

It comes up "0". What the heck am I doing wrong?

I reversed it to show if > instead of less than thinking maybe something was wrong and it just showed the default but it changes to "1", so its not just going to default. I removed the quotation marks and still the same thing. This does not make any sense to me.

This should work:

If( Job::Date_Received < GetAsDate( "09/12/05") ; 1 ; 0 )

  • Author

thank you!

GetAsDate should work, but using Date( 9; 12; 2005 ) is even more foolproof, especially if you have any international users.

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.