Announcement

Collapse
No announcement yet.

Diplay Total on Grid Row

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Diplay Total on Grid Row

    I have 2 column on table qyt and price. I want to display total = qty*price on row grid, so I make SQL to calculte. Select qty,price,qty*price as total from ...
    But on grid total cannot display the result...why?

  • #2
    In the grid you need to have a field to display it. The useual way to do this in scriptcase is by adding a field to your grid (field -> add field) and calll that total. Then in the onload event you add code like {total}={qty}*{price}; That's it.
    Albert Drent
    aducom software netherlands
    scriptcase partner, reseller, support and (turn-key) development
    www.scriptcase.eu / www.scriptcase.nl

    Comment


    • #3
      Grid? onRecord-Event ...
      Best regards: - Reinhard -

      I use ScriptCase 8 Enterprise Edition, Version 8.(latest)

      Comment

      Working...
      X