Jump to content

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

Recommended Posts

Posted

this problem involves:

client db-each client= one record.

job db- each job has one record. one client may have multiple jobs in a day or month. also, there is a calculated field that concantates the client's number with the date, for another solution. this field may come in handy...

i want to have a field that auto fills/calculates the number of jobs worked for the current client in the current month.

ie. we worked 4 jobs for mr jones in april, 3 in may, and 6 in june.

if i'm looking at jones's jobs, i want this new field to say 4 if the job i'm looking at takes place in april, 8 if in may, and 6 if in june.

ideally i would have 2 different fields that are similar-one that counts the present month's jobs, as in the jobs in the month of _today_, and one field that counts the jobs for the month of the job date.

i hope this makes sense. i tried using a summary field, but i can't figure out how to make it count/total a number of records based on the client number/date field. as it is, all it does is return the current record number.

any help is muchly appreciated. thanks.

josh

Posted

Hi,

at right side

Job Month = Month(your job date)

Right Concanate = Customer_id & " " Month

at left side

Today'sMonth = Month(Status(CurrentDate))

Left Concanate = Customer_ID & Status(CurrentMonth)

Relationship Left Concanate::Right Concanate

Then Count(Reletionship::Record_ID)

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