dcbug Posted August 2, 2008 Posted August 2, 2008 Hi, I'm trying to the last payment date from a line item file. I can get the Last(PaymentAmount) but not the date of the last payment. GetAsNumber ( Last (PaymentAmount ) ) works...
Ocean West Posted August 2, 2008 Posted August 2, 2008 Try Max( lineitem::date) or last (lineitem::date) they should work
T-Square Posted August 3, 2008 Posted August 3, 2008 I would sort the relationship Date Descending, and take the payment and date from the first record listed. Stephen--your approach could concievably return values from different records, if for some reason the last record in the result set (from which OP took payment info) did not have the Max(Date). David
Recommended Posts
This topic is 6016 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 accountSign in
Already have an account? Sign in here.
Sign In Now