Skip to main content

Search

Search

Add 10% To Database Value

Comments

1 comment

  • Avatar
    Ian Cummings
    Moderator

    Set the quantity to be set by a data source with the data source as an event based VB Script.  You would then reference the appropriate field containing the quantity value, add 10% to it and make sure the result is an integer by using the Int() function.  Something like this should do it:  Int(Field("table.qty",1) + (Field("table.qty",1) * 0.1))

    0

Please sign in to leave a comment.