![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Good morning- I am trying to accomplish the following. In my lookup, I need to find a value in a column(Store) when either the Store_Code or Store_Code_Orig column value match the variable passed through the lookup. I have this and it works for one: SELECT STORE FROM K_Collect_Code WHERE (Store_Code = ?) but I need to have it use the Store_Code_Orig column as well. Here is the transform incase that helps. Function Main() dim CM_ID dim Store_Code Store_Code = (DTSLookups("Store_Code").Execute (DTSSource("Col018").Value)) CM_ID = Store_Code + DTSSource("Col009") DTSDestination("CM_ID") = CM_ID Main = DTSTransformStat_OK End Function |
![]() |
| Thread Tools | |
| Display Modes | |
| |