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,453 of 9,834   
   Liz McGuire to Kenneth   
   Re: Unlocking problem...   
   10 Apr 07 11:50:06   
   
   From: liz@paradoxcommunity.com   
      
   Viewed should not be a var of UIObject type.  If there's a field on the   
   form named Viewed, that's enough.  Remove the var - *that* is your   
   unassigned variable.   
      
   Liz   
      
      
   Kenneth wrote:   
   >   
   > The code now looks like this, but still generates the   
   > Unassigned Variable error on the attach line:   
   >   
   >   
   > method arrive(var eventInfo MoveEvent)   
   > var   
   > 	tc1 tCursor   
   > 	PeopleKS form   
   > 	Viewed uiObject  <---- DELETE THIS LINE   
   > endVar   
   >   
   > if not tc1.attach(Viewed)   
   > 	then errorShow()   
   > endif   
   > return   
   > if not tc1.edit()   
   > 	then errorShow()   
   > endif   
   > return   
   > tc1.Viewed = today()   
   > if not tc1.endEdit()   
   > 	then errorShow()   
   > endif   
   > return   
   > if not tc1.close()   
   > 	then errorShow()   
   > endIf   
   > return	   
   > endMethod   
   >   
   > And yes, I have checked carefully, and "Viewed" is the name   
   > of the field to which I am trying to attach the tCursor...   
   >   
   > Thanks for any further thoughts,   
      
   --- 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