vb6 Kuwait
  • 17 years ago

    Break your calculations down abit.

    First work out UnitPrice * Qty

    Then find 1 percent of that

    times the 1 percent by 17.5

    add that to unitprice*qty

    work out 1 percent of total

    times the 1 percent of total * 5

    minus this from the total (your discount)

  • 17 years ago

    you can do it anyway you like, i write invoice processing system for a living so validation rules on totals and line level caculations are a dialy thing for me. Thats my suggestion. dates can be compared like anything else

    if format(now,"DD/MM/YYYY") = format(inputdate,"DD/MM/YYYY") then

    bla bla bla

  • 17 years ago


Post a reply

Enter your message below

Sign in or Join us (it's free).


Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“The difference between theory and practice is smaller in theory than in practice.”