From: usenet@soleSPAMLESSassociates.com   
      
   On Mon, 09 Apr 2007 12:39:43 -0400, Kenneth   
    wrote:   
      
   >On Mon, 09 Apr 2007 10:12:57 -0600, Liz McGuire   
   > wrote:   
   >   
   >>What if you used dmPut (not sure it won't trigger the unlock code) or a   
   >>tcursor (certain it won't trigger the unlock code) to assign the viewed   
   >>field? That would avoid having to tweak the mod date code - which I   
   >>think would be harder.   
   >>   
   >>Liz   
   >>   
   >Hi Liz,   
   >   
   >I like the tCursor idea, and will give it a shot right now.   
   >   
   >Sincere thanks, as always,   
      
   Hi Liz,   
      
   I just put this on the arrive of the field where I had the   
   other code:   
      
   method arrive(var eventInfo MoveEvent)   
   var   
    tc1 tCursor   
   endVar   
      
   if not tc1.open (":DATA: demograf.db") then errorShow()   
   endIf   
   if not tc1.edit() then errorShow() endif   
   tc1.Viewed = today()   
   if not tc1.endEdit() then errorShow() endif   
       
   endMethod   
      
      
   It generates no error, but it does not write today's date to   
   the table.   
      
   What am I missing?   
      
   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)   
|