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)   
|