Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×
The Claris Museum: The Vault of FileMaker Antiquities at Claris Engage 2025! ×

This topic is 4025 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

I'm having a problem with date fields sometimes being passed in a parameter in a strange non-date format. It may appear in the field as 1/11/14, but is passed in the parameter as 11.01.2014. Data in this format can't be put into a date field in a script, and GetAsDate returns a question mark.

I can't figure out what's going on. This glitch is somewhat inconsistent. 

Jim

Posted

The way date appears in a field is not necessarily the way it is stored. Moreover, "1/11/14" is not a valid date, but "11.01.2014" could be - depending on the date format being used by the file.

 

You should start by examining what's stored in the source date field: in Layout mode, format the field to display the date "As entered" and examine your real data. Next, enter Find mode and search for any invalid date entries (use a ? as the criteria). Also check what is the file's date format in use, for example by clicking into a date field (set to display "As entered") and inserting the current date from the Insert menu.

This topic is 4025 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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