I am using TIME() function as a default (AREV 3.12) in a collector window. The first time the collector window is openned and a transaction is entered the correct time is displayed by the default TIME(). However, on the entry of additional transactions the identical time is displayed until the collector window is closed and then redisplayed.
How can I force the 'update' of the TIME() function without closing the collector window?
Any help will be greatly appreciated.
Bear in mind that one a field is filled, its default routine will not fire again and overwrite the existing data.
One solution might be to assign time to @RECORD/@PSEUDO via a routine attached to the window, probably upon entry and again on exit eg. @PSEUDO=TIME()
Steve
Depending on what you want the time display to represent. You might consider calling a Time subroutine from the perpetual process part of the collector window.
Michael Slack
Isn't this exactly the type of application that smart labels were designed for?
If all you are doing is displaying the time, then use a smart label. If you need a time stamp on the transaction, you can still grab that from code during pre- or post-save processes.
Matt Sorrell
msorrel@greyhound.com
While testing your @record/@pseudo and other suggestions I found a program bug. I thought I had caught them all!!!
Problem now solved. Thanks agin for your help.
Mark