Another "Queue set current field" question

Inge Bøhn inge at
Sat May 17 11:21:21 EDT 2008

Hi Geir (gratulerer med dagen)

Your suggestion worked. I have tried using $startfield several times  
without succeeding, but then I have used the field names.
Now I saw you used a number. When i switched to the fields ident  
(Calculate $cinst.$startfield as 1420), it worked like I had hoped.


Den 17. mai. 2008 kl. 15.51 skrev Geir Fjærli:

> Hi Inge.
> On evClick
>   Calculate $cinst.$startfield as 2
>   Enter data
> Geir :)
> -----Original Message-----
> From: omnisdev-en-bounces at
> [mailto:omnisdev-en-bounces at] On Behalf Of Inge  
> Bøhn
> Sent: 17. mai 2008 14:08
> To: OmnisDev List - English
> Subject: Another "Queue set current field" question
> Hello list
> I have never been friends with the "Queue set current field".
> When I read the recent suggestions about "Queue set current field" in
> complex grids, I thought I should try to understand the elementary
> rules for this.
> I have no problems with moving from one entry field to another.
> When i write this in the entry field's $event method......
> On evAfter
> 	OK message  {Goes to field3}
> 	Queue set current field {Field3}
> ......the cursor moves to Field3.
> But when I try to do the same from a push button, I don't get it to
> work.
> I do like this in the pushbutton's $event method.....
> On evClick
> 	Queue set current field {Field2}
> 	Enter data
> 	If flag false
> 		OK message  {False}
> 	End If
> 	OK message  {True}
> .....but the enter data starts in field1 (the first field) instead of
> the second field where I wanted it to start.
> What am I doing wrong?
> Do I have to have another $event method? Or a $control method?
> Best regards
> Inge Bøhn_____________________________________________________________
> Manage your list subscriptions at
> _____________________________________________________________
> Manage your list subscriptions at

More information about the omnisdev-en mailing list