D
danlin99
Hi-
I'm trying to export a table from Access to SQL Server with a memo field
where some entries have more than 8000 characters. SQL does not have a memo
datatype but has varchar with a maximum of 8000 char. The memo field
contains comments for different dates with a hard return or <ctrl><enter> at
the end as shown in the example below. I would like to separate the memo
field into a new table with each RMA_Id, date and comment combo treated as a
new row. Can somebody help with VB code that will do this. TIA.
RMA_ID STATUS_COMMENT
123 1/1/06 - comment <ctrl><enter> 1/2/06 - comment
<ctrl><enter> 1/3/06 - comment
124 1/10/06 - comment <ctrl><enter> 1/15/06 - comment
New Table should lokk like this
RMA_ID STATUS_COMMENT
123 1/1/06 - comment
123 1/2/06 - comment
123 1/3/06 - comment
124 1/10/06 - comment
124 1/15/06 - comment
I'm trying to export a table from Access to SQL Server with a memo field
where some entries have more than 8000 characters. SQL does not have a memo
datatype but has varchar with a maximum of 8000 char. The memo field
contains comments for different dates with a hard return or <ctrl><enter> at
the end as shown in the example below. I would like to separate the memo
field into a new table with each RMA_Id, date and comment combo treated as a
new row. Can somebody help with VB code that will do this. TIA.
RMA_ID STATUS_COMMENT
123 1/1/06 - comment <ctrl><enter> 1/2/06 - comment
<ctrl><enter> 1/3/06 - comment
124 1/10/06 - comment <ctrl><enter> 1/15/06 - comment
New Table should lokk like this
RMA_ID STATUS_COMMENT
123 1/1/06 - comment
123 1/2/06 - comment
123 1/3/06 - comment
124 1/10/06 - comment
124 1/15/06 - comment