mibuso.com

Microsoft Business Solutions online community
It is currently Tue May 21, 2013 12:56 pm

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: Disabling manual entry in a lookup field.
PostPosted: Mon Jan 31, 2011 1:35 pm 
Offline

Joined: Thu Sep 23, 2010 9:34 pm
Posts: 4
Country: India (in)
Hello,

I have a lookup field in a grid.I want to disable the field such that user cannot manually enter anything.all the values can be selected only thorough the lookup.

How can i achieve this?

Thanks


Top
 Profile E-mail  
 
 Post subject: Re: Disabling manual entry in a lookup field.
PostPosted: Mon Jan 31, 2011 1:53 pm 
Offline

Joined: Mon May 18, 2009 6:36 am
Posts: 792
Location: India
Country: India (in)
make this field uneditable and do with onlookup and validate value from onlookup trigger.

_________________
Vijay Gupta
Changing the code is last step. Try to change processes first...


Top
 Profile E-mail  
 
 Post subject: Re: Disabling manual entry in a lookup field.
PostPosted: Mon Jan 31, 2011 4:34 pm 
Offline

Joined: Thu Sep 23, 2010 9:34 pm
Posts: 4
Country: India (in)
if you make the string edit field un editable the lookup field will not show up.

there should be some other way out.


Top
 Profile E-mail  
 
 Post subject: Re: Disabling manual entry in a lookup field.
PostPosted: Wed Feb 02, 2011 6:19 am 
Offline

Joined: Mon May 18, 2009 6:36 am
Posts: 792
Location: India
Country: India (in)
what are you doing exactly?
do this....
set editable property to false.try it on form..

Code: Select all
onlookup trigger of table
IF FORM.RUNMODAL(0,Item) = ACTION::LookupOK THEN
   VALIDATE("Item No.",Item."No.");

_________________
Vijay Gupta
Changing the code is last step. Try to change processes first...


Top
 Profile E-mail  
 
 Post subject: Re: Disabling manual entry in a lookup field.
PostPosted: Fri Feb 04, 2011 10:32 am 
Offline

Joined: Thu Dec 08, 2005 9:12 am
Posts: 2870
Location: India
Country: India (in)
vijay_g wrote:
what are you doing exactly?
do this....
set editable property to false.try it on form..

Code: Select all
onlookup trigger of table
IF FORM.RUNMODAL(0,Item) = ACTION::LookupOK THEN
   VALIDATE("Item No.",Item."No.");

Have you realized you are replying in AX forum and not NAV. AX properties and coding is different from NAV.

_________________
CA Sandeep Singla
http://ssdynamics.co.in


Top
 Profile E-mail WWW  
 
 Post subject: Re: Disabling manual entry in a lookup field.
PostPosted: Fri Feb 04, 2011 11:03 am 
Offline

Joined: Mon May 18, 2009 6:36 am
Posts: 792
Location: India
Country: India (in)
really sorry...... :(
prashobkumar please ignore this.

_________________
Vijay Gupta
Changing the code is last step. Try to change processes first...


Top
 Profile E-mail  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum


Search for:
Jump to: