Sign up on the Revelation Software website to have access to the most current content, and to be able to ask questions and get answers from the Revelation community

Reset TIME() (AREV Specific)

At 09 DEC 1999 08:32:23PM Mark Ford wrote:

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.


At 10 DEC 1999 12:48AM Steve Smith wrote:

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


At 10 DEC 1999 09:49AM Michael Slack wrote:

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


At 10 DEC 1999 10:25AM Matt Sorrell wrote:

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


At 10 DEC 1999 06:22PM Mark RC Ford wrote:

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

View this thread on the forum...