Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Expand banded pages in DAP?

Status
Not open for further replies.

FancyPrairie

Programmer
Oct 16, 2001
2,917
US
I have a data access page with 3 different group levels. When the page is first opened (see figure 1) none of the groups are expanded. Now, suppose I want to find and display "Employee B". I know Employee B resides in Dept B of Company B. So what I'm attempting to do is to find Company B, then expand Company B. Then find Dept B, and then expand Dept B. Then find Employee B and set focus to it (see Figure 2).

So far I've been able to find Company B, expand it, and find Dept B. However, I can't figure out how to set focus to a control on Dept B and then expand it so all of the employees will show up under Dept B. Then find Employee B and set focus to that record. Any suggestions?

Figure 1
+ Company A
+ Company B
+ Company C

Figure 2
+ Company A
+ Company B
+ Dept A
+ Dept B
+ Employee A
+ Employee B
+ Employee C
+ Dept C
+ Company C
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top