umadevi
30th October 2008, 06:33
Hi All,

Urgent Help need,

Here i have to display the fields of the table based on the index that i have selected.

For Example: I am having Employee Table with two indexes

Index1 = Deptid
Index2 = Empid,Deptid

If i select index1 i should display only Deptid
If i select index2 i should display Empid and Deptid

This i have to do dynamically. so i need to know how to query based on index.

Thanks in Advance,
Uma.

chenna.deepa
30th October 2008, 07:34
Hi All,

Urgent Help need,

Here i have to display the fields of the table based on the index that i have selected.

For Example: I am having Employee Table with two indexes.this is maintain session with index1,index2 as view field

Index1 = Deptid
Index2 = Empid,Deptid

If i select index1 i should display only Deptid
If i select index2 i should display Empid and Deptid

This i have to do dynamically. so i need to know how to query based on index.

Thanks in Advance,
Deepa.

george7a
30th October 2008, 08:54
Please do not post duplicate posts from 2 users. I have merged the two posts.

zardoz
30th October 2008, 09:39
Please clarify. You have to display means you have to do a display session?
If yes, the more practical way to do this is to have two different forms, and display once based on choose index.