Mulitplying 2 Fields Follow

0
Avatar
Legacy Poster

I do not know anything about VBScripting and need some help.  I need to multiply 2 different fields together and have the result print on the label.

 

Field 1  - Quantity per skid. This is determined by the user when printing the label

Field 2 - Bag weight info is pulled from the database

 

Multiply both together to print in field 3 - Skid weight

 

Script Assistant, OnPrintStart - Value = Field("NetWeight") * Format.NamedSubStrings("QuantityPerPallet").Value

 

How do I fix this?

 

Thanks in advance.

2 comments

0
Avatar
Legacy Poster
Comment actions Permalink

How/what doesn't work? The code looks fine to me... Maybe you need to move it to the OnPostPrompt event?

0
Avatar
Legacy Poster
Comment actions Permalink

That was an easy fix! Thanks

Please sign in to leave a comment.