$cfield cursor

malkishtini at gmail.com malkishtini at gmail.com
Fri Mar 25 22:45:32 UTC 2022


Hi Martin,

This is what I use in my controller code 
iViewRef.$setcurfield('partsqty',kTrue)

iViewRef = an item ref to my JS form
partsqty = the field name in the form. (you could use field name, ident or item ref)

Hope that helps,
Mayada

-----Original Message-----
From: omnisdev-en <omnisdev-en-bounces at lists.omnis-dev.com> On Behalf Of Martin Obongita via omnisdev-en
Sent: Friday, March 25, 2022 6:27 PM
To: omnisdev-en at lists.omnis-dev.com
Cc: Martin Obongita <martin.obongita at yahoo.com>
Subject: $cfield cursor

Hi all,
Excuse my dumb question.    How do I set the cursor to an entry field in a sub window of type remote form? Do $cfield.$currentitem.$assign('efCode')
doesn't seem right.
Rgds,Martin.
_____________________________________________________________
Manage your list subscriptions at https://lists.omnis-dev.com Start a new message -> mailto:omnisdev-en at lists.omnis-dev.com 



More information about the omnisdev-en mailing list