locked
LS HTML waiting for a Query (All) to change RRS feed

  • Question

  • I have a single query that is changed programatically called LatestOrder and a query belonging to it added called OrderDetails. When I call getOrderDetails() and loop through the details to get the total order cost AFTER I change LatestOrder, the OrderDetails contains the last order's details, not the new order. I tried adding a dataBind("screen.OrderDetails", ...) to the TotalOrder function, but it doesn't help. Anyone have ideas? (I added a timeout but sometimes two seconds is too short, I want to bind it to an event)

    • Edited by Borkith Tuesday, March 18, 2014 3:27 PM
    Tuesday, March 18, 2014 3:24 PM

Answers