Number of Print Copies from VB Script Calculation Follow
I'm looking to determine the # of print copies from a VB Script. Essentially, we are looking to divide data from a data source (DBSource.DBField) by a form input (FormInputField) value. There are also times where the quotient will have a decimal and we need to round it up (no matter what the decimal is). This is what I have come up with so far:
Value = Round(((Int(Field("DBSource.DBField")))/(Int(Format.Objects("FormInputField").Type))),0)
It continues to error out due to: OnAutoSelectedEvent(Line 1): : Type mismatch: '[string: ""]'
I can't figure out how to get this to work, and would appreciate any help on it.
Adam Flores Sr
Please sign in to leave a comment.