cobom
Posts: 55
|
| Posted: 11/25/2004, 10:28 AM |
|
I had to add this code to let employees search their own data. Before I did the search results would display all the records - now they hit search and only the values inputted are shown. I add it to the before show event - unless an employee name is entered and search is selected the 'LIST' remains invisible
Function Employee_Direct_LaborSearch_BeforeShow() 'Employee_Direct_LaborSearch_BeforeShow @31-86D005F1
'Custom Code @59-73254650 CBMod show list after entering name
' -------------------------
Employee_Direct_List.Visible = ccGetParam("s_Employee_Name","") <> ""
' -------------------------
'End Custom
search is my search grid - list is the grid results
Hope that helps....
_________________
cmckinney@searay.com
Will program for a Sea Ray 680 SS ;} |