Hello Jazib
I would like to understand your requirement in more concrete terms to suggest a 
better solution.
Maybe an idea to include an example of the kind of data you are storing.
In addition your table design and your data entry doesnt seem to match
You have an enum and a string as 2 fields
Scenario 1 - you choose value of field 1 enum 1 - field 2 then you lookup 
another table and it probably returns a string
Scenario 2 - you choose value of field 1 enum 2 - field 2 then you need enter 
an enum for  and how do you propose to store to your value - as a string or an 
enum which usually stores the position (number).
So maybe you need to revisit your design and see how best you can achieve the 
business logic in terms of table design.
If you add some more info i would be glad to answer.
Thanks
Rajesh


----- Original Message ----
From: jazib.abdulah <[EMAIL PROTECTED]>
To: [email protected]
Sent: Wednesday, May 14, 2008 2:56:03 PM
Subject: [development-axapta] How to programatically switch between a Lookup or 
a ComboBox on the same field.


Hi Everybody

I have a table with two Columns. 
First Column is an Enum with two elements 
Second column is a string. 

Now on the form in the Grid

When user selects first element in first column, second column should 
show a Lookup for another table.
When user selects second element in first column, second column should 
allow an entry from another Enum.

How can I accomplish this.

Thanks for the help in advance.

 


      

[Non-text portions of this message have been removed]

Reply via email to