Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

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

Recommended Posts

Posted

I have a shipping file that has a record for each customer purchase as follows:

Record 1

Name: joe Smith

Address: 45 J st

Item purchased: widget 34

Weight 5oz

Record 2

Name: joe Smith

Address: 45 J st

Item purchased: widget 57

Weight 10oz

reimbursement

Record 3

Name: joe Smith

Address: 45 J st

Item purchased: widget 16

Weight 5oz

How can I determine the total weight for this customer when all three of the widgets are in separate records?

I think a self join relationship would work somehow, or creating a new record with globals for the weights?? Attached is my work on the script to find the duplicate names I am close but I have hit a wall. Any help would be appreciated. Thank you.

Posted

I have a shipping file that has a record for each customer purchase as follows:

Record 1

Name: joe Smith

Address: 45 J st

Item purchased: widget 34

Weight 5oz

Record 2

Name: joe Smith

Address: 45 J st

Item purchased: widget 57

Weight 10oz

reimbursement

Record 3

Name: joe Smith

Address: 45 J st

Item purchased: widget 16

Weight 5oz

How can I determine the total weight for this customer when all three of the widgets are in separate records?

I think a self join relationship would work somehow, or creating a new record with globals for the weights?? Attached is my work on the script to find the duplicate names I am close but I have hit a wall. Any help would be appreciated. Thank you.

Posted

I have a shipping file that has a record for each customer purchase as follows:

Record 1

Name: joe Smith

Address: 45 J st

Item purchased: widget 34

Weight 5oz

Record 2

Name: joe Smith

Address: 45 J st

Item purchased: widget 57

Weight 10oz

reimbursement

Record 3

Name: joe Smith

Address: 45 J st

Item purchased: widget 16

Weight 5oz

How can I determine the total weight for this customer when all three of the widgets are in separate records?

I think a self join relationship would work somehow, or creating a new record with globals for the weights?? Attached is my work on the script to find the duplicate names I am close but I have hit a wall. Any help would be appreciated. Thank you.

Picture-3.jpg

Posted

If you are using FM6, create two files. One for customers and the other for item purchased, weight, etc. The relationship should be based on a customerID number. Then it becomes easy. All you have to do is create a calc field that sums up the weight through the Customer to Purchases relationship.

Posted

If you are using FM6, create two files. One for customers and the other for item purchased, weight, etc. The relationship should be based on a customerID number. Then it becomes easy. All you have to do is create a calc field that sums up the weight through the Customer to Purchases relationship.

Posted

If you are using FM6, create two files. One for customers and the other for item purchased, weight, etc. The relationship should be based on a customerID number. Then it becomes easy. All you have to do is create a calc field that sums up the weight through the Customer to Purchases relationship.

Posted

Mr Vodka, I'm sorry to report that the post that you spent your valuable time to tink about and respond to is, in fact, a duplicate post. A post that I responded to with almost exactly the same answer.

The person using the name "fmp6_user_fmp6" should seriously consider apologising for wasting our valuable time.

Posted

Mr Vodka, I'm sorry to report that the post that you spent your valuable time to tink about and respond to is, in fact, a duplicate post. A post that I responded to with almost exactly the same answer.

The person using the name "fmp6_user_fmp6" should seriously consider apologising for wasting our valuable time.

Posted

Mr Vodka, I'm sorry to report that the post that you spent your valuable time to tink about and respond to is, in fact, a duplicate post. A post that I responded to with almost exactly the same answer.

The person using the name "fmp6_user_fmp6" should seriously consider apologising for wasting our valuable time.

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