use command object parameter collection
Code:
DataEnvironment1.Command1 (intMonth , intyear)    
P_Payslip.Show