wireshop Posted May 27, 2008 Posted May 27, 2008 I need a field that is a sum of sales for that day on a layout. Right now I have a summary field giving me a running total but I need to have the same value across all records for that day. Any suggestions?
mr_vodka Posted May 27, 2008 Posted May 27, 2008 If your found set dispalys only records for that day, then you can just use a summary field (running total not needed). If your found set displays all records in your databse including those not from the current date, then you can try this. Create an unstored calc with Get (CurrentDate). Create a new table occurrence and relationship keyed from the new calc to the SalesDate field. Now you should be able to use a summary field from this NEW table occurrence on your layout and it should give you the total for today. If you do not want to use s summary field, then you can always use Sum ( YourNewTO::Amt )
Recommended Posts
This topic is 6084 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