In Visual Script Editor to convert a string to Integer then add the two numbers together launched from the Properties and Data Sources.
Dim InvQty as Integer
Dim JobQty as Integer
InvQty = CInt(Field("XXXX-Active.ShipDtl_OurInventoryShipQty"))
JobQty = CInt(Field("XXXX-Active.ShipDtl_OurJobShipQty"))
Value = InvQty + JobQty
As the code is written above, I receive the following error...
OnAutoSelectedEvent (Line 5): Dim InvQty as Integer: Expected end of statement. Not sure why this is an error, or how to fix it.
Please sign in to leave a comment.