06-30-2009 04:12 AM
Hello,
Simple question :
I have a new field : VATNumber
I check if this vat number is correct. (OnChange Action)
But if it's not correct I would like to go to this control.
How can I do that ?
Ben
06-30-2009 06:59 AM
Hi,
I assume you are in the lan client.
If so just do something like
yourcontrol.setfocus
Hope this helps!
Alexander
06-30-2009 08:23 AM
No this is in SalesLogix Web 7.5.1...
06-30-2009 10:44 AM
Similar thing Ben.
MyControl.Focus();
I added this to the LoadAction of the account details form and it worked as expected.
I talked with one of the developers and he mentioned that you should be cautious of dialogues etc since there is a lot of "stuff" going on when these load.
Perhaps some details forms will also try and do something that will mess with focus, but it should work on most - it did for me as expected!
I will post the video in the developer subscription (training.crm@sage.com if you do not have it).
Ben - email me directly if you need it quickly. The requestor always get the video direct