Rob's TIMSS Blog

My discoveries and ramblings of TIMSS/Personify.

Monday, December 24, 2007

TIMSS 6: Adding views to the Search Screen

In TIMSS 6, you can add views to the APPQUERYSEARCH screen. First create the views you want to search with. Make sure the view includes the MASTER_CUSTOMER_ID and SUB_CUSTOMER_ID.

Next use Extender to add to the OnOpening event of the screen you want to add the view to the search. If that's CUS001, then the code would look like this:

Public Sub CUS001C_OnOpening ( ByRef MyForm As Object)

MyForm.SearchViewNames =
“Cus_Address_Alias_C_VW,Cus_OSR_Relationships_VW,

Cus_ISR_Relationships_VW,Cus_Proj_Mgr_Relationships_VW”

End Sub


Applies to: TIMSS6

0 Comments:

Post a Comment

<< Home