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 5779 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

lets say I have a small number in a field let's say $37.50.

I cannot get the number to break down with the decimal point it always comes out as 3750 without the decimal. I have tried number format but cannot figure this one out, does any one have any ideas.

Jimmie

Posted

Make a copy of your file, delete everything that's irrelevant to the problem (along with any sensitive data, of course), zip the file and attach it to your post.

... when making a post you can click the "Manage Files" link. A popup window will open allowing you to browse and select file(s) off your hard drive, then click "Add". When finished click "Finished" and the window will close so you can continue making your post.
  • 5 months later...
Posted

I am trying to get an automatic date to fill a feild when i creat a new record.

I have a field that has a certain date in it, let's say 01/01/2009, now when i create a new record for payments i need the second field to automatically change to exactly 30 days,IE;01/30/2009 when i create a new payment record. any ideas??

Posted

30 days past which date? The invoice date? The date next payment is due?

Posted

You need to specify the field in the Payment Record as Type = Date, then click Options, then click Calculated value, then click Specify ...

{name of existing date field} + 30

Posted

the original invoice date is in 1 field, then when a payment record is created i need 30 days from that date to compute automaticaly in the second field, wich would be next payment due date.

Posted

Alright. Do you have a relationship from Invoices to Payments by InvoiceID?

If so, in Invoices define a calc, result Date,

NextPaymentDue = (Inv_Payment::Date_Payment) + 30

Sort the relationship btw Invoices and Payments by Date_Payment desc so that FM sees the last payment.

This will calc the next payment 30 days from the most recent last payment. 30 days is not a month, btw.

Posted

And what is the date of the first payment? And what happens if one creates two payments without committing in-between? And why is this necessary at all - are new payments created endlessly, or is there a fixed number of them?

Posted

Well, yes, you would need to consider Balance Due, and if there are no payments, you could calc NextPayment equal to Invoice Date +30. Two payments without commiting, that could be handled with a script. Aren't you the pessimist?

Who knows why this is necessary? A statement?

Posted

My point is that (assuming we are talking about a fixed number of payments) this SHOULD be handled by a script - ALL of it.

Aren't you the pessimist?

I don't know - but I am not optimistic about your date calculation working properly...

Posted

Oh, that hurt. Well, again we're trying to provide answers by guessing at the big picture. Anytime I try to probe for "where's this going," I seem to get shot down. I need to meet up with Mr. Vodka.

Posted

I know 30 days is not a month but our laws in nevada pertaining to my business is based on a 360 day year, therefore 30 days is a nevada month.

only in vegas!!

Posted (edited)

I know 30 days is not a month but our laws in nevada pertaining to my business is based on a 360 day year, therefore 30 days is a nevada month.

only in vegas!!

And what do you do with the other 5 days of the year? If you party, I'll move there ROFLMAO!

Edited by Guest
  • 2 weeks later...
Posted

I need to meet up with Mr. Vodka.

Darn got a shout out and I wasn't even online to respond at the time... lol. Next time I bring the booze.

Posted

Oh, I assumed you were bringing the booze the first time. Nice to see you around again.

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