Home » Developer & Programmer » Forms » Focus Sating Property.
Focus Sating Property. [message #131996] Wed, 10 August 2005 05:52 Go to next message
weekend79
Messages: 198
Registered: April 2005
Location: Islamabad
Senior Member

I wish that when I open form the focus goes to a text item name “:abc.xyz”

Wishes
Jawad

Re: Focus Sating Property. [message #132003 is a reply to message #131996] Wed, 10 August 2005 06:54 Go to previous messageGo to next message
saadatahmad
Messages: 452
Registered: March 2005
Location: Germany/Paderborn
Senior Member

In WHEN-NEW-FORM-INSTANCE trigger, write this code:
GO_ITEM('abc.xyz');

Done.

Regards
Re: Focus Sating Property. [message #132106 is a reply to message #131996] Wed, 10 August 2005 18:54 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
Consider restructuring your form so that the 'abc' block is the first block with a navigable item, and 'xyz' is the first navigable item in that block.

You can also define the 'First Navigation Data Block' at the Form level but I have found defining your tables in the 'right' order and the fields in the typical order of navigation means you have to write less navigation code. You just turn 'navigation' on and off as required to make the cursor 'jump' to the required field. (In 95% of cases anyway.)

David

[Updated on: Thu, 11 August 2005 01:41]

Report message to a moderator

Re: Focus Sating Property. [message #132149 is a reply to message #131996] Thu, 11 August 2005 01:36 Go to previous message
weekend79
Messages: 198
Registered: April 2005
Location: Islamabad
Senior Member

Dear Saadat Ahmad / David

Thanks for help, following worked
GO_ITEM('abc.xyz');

Wishes
Jawad

Previous Topic: Can anyone help me to trap ORA-03113 end-of-file on communication channel error
Next Topic: Language Setings Forms
Goto Forum:
  


Current Time: Fri Sep 20 01:38:51 CDT 2024