home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.databases.paradox      To crash or not to crash, asks Borland      9,834 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 8,409 of 9,834   
   Kenneth to All   
   Date record viewed...?   
   04 Apr 07 09:15:03   
   
   From: usenet@soleSPAMLESSassociates.com   
      
   Howdy,   
      
   I added a date field (called ViewDate) to a particular table   
   because I want a form that displays that table to behave in   
   the following way:   
      
   I wanted ViewDate to display today() whenever a record was   
   viewed (whether or not it was modified.)   
      
   The form is set up so that the cursor goes to a LastName   
   field when the form opens, and so, on the arrive of that   
   field, I just put in a line of code to modify ViewDate.   
      
   I set the arrive of LastName simply as:   
      
   edit()   
   ViewDate = today()   
   endEdit()   
      
   but then saw that I was in a continuous loop of locking, and   
   unlocking the record.   
      
   What is the proper way to approach this?   
      
   Sincere thanks,   
   --   
   Kenneth   
      
   If you email... Please remove the "SPAMLESS."   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca