October 25, 201015 yr i have a layout with a tab control set. some fields show up in all tabs. in a script, i use 'go to field', but i'd like to stay on the currently active tab. but when the script executes, it always switches to the first tab and goes to the field there instead of just staying where it is. probably something simple (?). thanks, stefan
October 25, 201015 yr Go to Field[] goes to the first instance of the field in layout's stack order. If you always go to the same instance of the field, you could move the desired instance backwards;otherwise try using Go to Object[] instead. Edited October 25, 201015 yr by Guest won't work
October 25, 201015 yr Author just about... i tried what you suggested, but perhaps didn't explain enough. the field in question is on all (three) tab panels. all panels are named objects. now, i execute a script which includes go to object [panel_name] and then go to field. so it might go to panel three, but on go to field switches to panel 1 all by itself to go to the field, even though that field *also* exists on panel three. looks like the order of panels is given priority as suggested above by comment. no big deal - guess i'll just click myself into the required field. stefan
October 25, 201015 yr Author unfortunately same answer applies to, but only for panels other than 1. say i go to panel one, then to field 1. all is well. next time i go to panel three, then to field 1. i'm being dumped back to panel one. of course, i could *now* go to panel three with an extra script step, but then the record is exited and i'm no longer inside the field. catch 22. stefan
October 25, 201015 yr You need to name your field instances, and go to them explicitly using Go to Object[]. The panel will be selected automatically.
October 25, 201015 yr Author ahhh, name the FIELD, not the PANEL. now i gotcha! yes, that works now. pardon my tunnel vision. thanks, stefan
Create an account or sign in to comment