![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I have currently trying to import an excel spreadsheet with named cells to SQL thr DTS.. My problem is that how to I skip those cell that are empty in the spreadsheet using DTS activeX? This is what I tried? (I have tried checking for isNull) Function Main() 'Check for not Null If trim(DTSSource("Field A"))=NULL Then Main = DTSTransformStat_SkipRow Else DTSDestination("FIELD_A") = DTSSource("Field A") end if Main = DTSTransformStat_OK End Function Thanks. *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it! |
#3
| |||
| |||
|
#4
| |||
| |||
|
|
I tried that also, but it did not work. I notice that as long as the cells are format with border, it is not considered as Null. Any one experience this? ~ oriki9999 ~ *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it! |
#5
| |||
| |||
|
![]() |
| Thread Tools | |
| Display Modes | |
| |