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

How do I return a Date type from my plug-in?


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

Recommended Posts

Posted

Hi all,

I am new to this forum. Great forum first off!

Actually 2 questions:

1. Where can I find more documentation on writing plug-ins? The Developer Edition of Filemaker only came with 1 plug-in sample?

2. I have written a simple plug-in. I would like to return a date back to Filemaker. Currently I'm returning a string. In the Field Define Lists dialog if I set the Calculated field to return 'Date', then it displays a "?" in the field when I run Filemaker. What's the trick?

Thanks for your help in advance and I look forward to hopefully contributing to this forum and answering some questions for other folks.

Sincerely,

John Scalco

Posted

I don't think there is any other documentation on writing plugins other than what cam on the CDROM. You might look at David McKee's site www.protolight.com. He may have some additional examples.

I think you need to convert the date using TextToDate(date) function.

If you find any other docs on plugins, please let me know.

Posted

Thanks for the reply.

I checked the website you suggested and did not see any information there.

Regarding TextToDate(), thanks for the suggestion, I already had tried this and it is one way to go, however, I really don't like the idea that the user has to call another function to use my function !

ex: TextToDate(External("myl-TestThis", "10/20/2002"))

I only want one call to keep it simple.

thanks again,

John Scalco

Posted

Are you aware thzt dates are stored internally as the number of days since 1/1/0001?

This topic is 8253 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.