Jump to content

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

Recommended Posts

Posted

If( PatternCount(info_Package,"C"), "32", "0")

I now have a calculation that will give me any given number if the field(info_package) contains a "C". Lets just say that that number is "32" ... Does anyone know what calc I can use for the following problem

I want it to double the number (32) if there are two "C"s in the field or triple of there are three of them

Any Suggestions?

Posted

Well,

PatternCount(Your field"C")

Lets call this field Count the C

Will return the number of C's in that field, for that record.

Then you can use a calculation

Count the C * 32

If it is only 1 C, you get 32,

2 gives 64, 3 gives 96 etc...etc...etc

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