![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
On 10 Feb 2009 14:55:46 -0500, "Jim Moseley" jmose (AT) mapson (DOT) attglobal.net> 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, |
#3
| |||
| |||
|
|
Why open a new form instead of just switch index on the existing one .... |
![]() |
| Thread Tools | |
| Display Modes | |
| |