Aller au contenu principal

Recherche

Recherche

Add 10% To Database Value

Commentaires

1 commentaire

  • Avatar
    Ian Cummings
    Modérateur

    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

Vous devez vous connecter pour laisser un commentaire.