I just want to extract 65535 and then the rest of the rows.
Here is the example of one cell of the colom (this colomn has all
rows like this)
When i open the file in access and select " as text qualifier, it
adjust the width of following and limit it to 255 characters only. if i
select non as text qualifier, access distribute data in more than one
cell.
Actual example of one cell of the colomn
<table border="1" cellpadding="0" cellspacing="0"
style="border-collapse: collapse" bordercolor="#C0C0C0" width="100%"
height="54"> <tr><td width="100%" height="20"
bgcolor="#D2E4FF"><b>Notes: </b>4-4OUNC-2</td></tr><tr><td
width="100%'" height="21" bgcolor="#EAEAEA"><p
align="left"><b>Hewlett-Packard Part Numbers F1440-60976 compatible
with the following Models:</b></p></td></tr> <tr><td width="100%"
height="60"><p align="left"><font face='Times New Roman' size=2><a
href=
http://www.name.com/hewlett-packard-omnibook-4100-parts.html
title='OmniBook 4100'>OmniBook 4100</a></font>, <font face='Times New
Roman' size=2><a
href=
http://www.name.com/hewlett-packard-omnibook-4110-parts.html
title='OmniBook 4110'>OmniBook 4110</a></font>, <font face='Times New
Roman' size=2><a
href=
http://www.name.com/hewlett-packard-omnibook-4150--13-3--parts.html
title='OmniBook 4150 (13.3)'>OmniBook 4150 (13.3)</a></font>, <font
face='Times New Roman' size=2><a
href=
http://www.name.com/hewlett-packard-omnibook-4150--14-1--parts.html
title='OmniBook 4150 (14.1)'>OmniBook 4150 (14.1)</a></font>, <font
face='Times New Roman' size=2><a
href=
http://www.name.com/hewlett-packard-omnibook-7100-parts.html
title='OmniBook 7100'>OmniBook 7100</a></font>, <font face='Times New
Roman' size=2><a
href=
http://name.com/hewlett-packard-omnibook-7150-parts.html
title='OmniBook 7150'>OmniBook 7150</a></font></p> </td></tr></table>
resulted cell after i open with access
<table border="1" cellpadding="0" cellspacing="0"
style="border-collapse: collapse" bordercolor="#C0C0C0" width="100%"
height="54"> <tr><td width="100%" height="20"
bgcolor="#D2E4FF"><b>Notes: </b>4-4OUNC-2</td></tr><tr><td
width="100%'" height="21" bgcolor
Above is example of only one cell.
So problem remains the same
a. Access auto adjust the width of row (i guess it has limit on width),
i want to keep the data without adjusting the width.
b. I want to remove all the html tags. ( any macro or command which can
delete the html tags)
regards
John said:
I can open the file in Access. it has 107000 rows. But i have following
problems.
1. I don;t know how to split in subsets. ( it is not based on days or
months)
What IS it based on? Is there anything within the contents of the file
which would let you logically subset it; or do you just want to
extract 65535 rows, and then the rest of the rows?
1. One of the coloumn have html tag, i want to remove these tags and
just save text.
That would involve an UPDATE query, probably using the Replace()
function: e.g. a query with a criterion
LIKE "*<BR>*"
and an Update To clause like
Replace([fieldname], "<BR>", "")
will eliminate all the <BR> terms. You'll need some (not terribly
difficult but maybe a bit tedious) VBA code to seek out and remove all
of the possible tags.
2. Access auto adjust the width of row (i guess it has limit on width),
i want to keep the data without adjusting the width.
Access doesn't deal with "width" in tables, and the width of a display
on the screen is completely irrelevant to the data that's stored!
Could you explain what you're seeing that you don't want?
Don't confuse data STORAGE with data DISPLAY. They are two separate
operations. Data is stored in Tables; it's best displayed on forms for
onscreen viewing, and/or in reports for printing. Either will allow
the data to be arranged however you please.
John W. Vinson[MVP]