Skip to Content
0
Former Member
Jan 10, 2008 at 11:08 AM

Trying to add conditions to a data source

23 Views

Hi

I am using SAP 2005a SP01 PL36. I have added some conditions to a dbdatasource, the code is below

If I only have the first condition it works fine but when I add the second condition it doesn't return any data

Can anyone suggest anything please ?

Thanks

Regaerds Andy

ocondition = oconditions.Add

ocondition.Alias = "docentry"

ocondition.Operation = BoConditionOperation.co_EQUAL

ocondition.CondVal = "8"

' add condition to only show '01' warehouse

ocondition = oconditions.Add

ocondition.Alias = "whscode"

ocondition.Operation = BoConditionOperation.co_EQUAL

ocondition.CondVal = "01"