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 9,619 of 9,834   
   Kenneth to jmose@mapson.attglobal.net   
   Re: SwitchIndex syntax...?   
   10 Feb 09 17:31:46   
   
   From: usenet@soleSPAMLESSassociates.com   
      
   On 10 Feb 2009 14:55:46 -0500, "Jim Moseley"   
    wrote:   
      
   >   
   >Kenneth,   
   >   
   >IIRC, switchIndex is used on uiObject & tcursors, not forms.  So you need   
   >to attach to a field on the form, then switch the field's index.  Something   
   >to the effect of:   
   >   
   >var   
   >  newDate form   
   >  newUI uiObject   
   >endVar   
   >allIsWell = false   
   >if newDate.open("newProgs") then   
   >   if newUI.attach(newDate.myFieldName) then   
   >      if newUI.switchIndex("startsOn") then   
   >         allIsWell = true   
   >      endif   
   >  endif   
   >endif   
   >if not allIsWell then   
   >   errorShow()   
   >   return   
   >endif   
   >   
   >HTH,   
   >Jim Moseley   
      
   Hi Jim,   
      
   With your kind help, I have it working now.   
      
   As you said, it was the UIObject issue.   
      
   Thanks again,   
   --   
   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