Wrox Programmer Forums
|
HTML Code Clinic Do you have some HTML code you'd like to share and get suggestions from others for tweaking or improving it? This discussion is the place.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the HTML Code Clinic section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old January 25th, 2005, 02:30 PM
Friend of Wrox
 
Join Date: May 2004
Posts: 212
Thanks: 0
Thanked 0 Times in 0 Posts
Default Tabular Data Control

Hi All,

Im having some real probs with the above.

Here is my code:

<OBJECT ID="data2" CLASSID="CLSID:333C7BC4-460F-11D0-BC04-0080C7055A83">
    <PARAM NAME="DataURL" VALUE="data2.txt">
    <PARAM NAME="UseHeader" VALUE="TRUE">
    <PARAM NAME="CharSet" VALUE="iso-8859-1" / >
    <PARAM NAME ="TextQualifier" value = """>
        <PARAM NAME ="FieldDelim" VALUE = ",">
</OBJECT>

<TABLE DATASRC="#data2" BORDER="2">
<THEAD>
    <TH>Name</TH>
    <TH>Date</TH>
    <TH>Customer Name</TH>
    <TH>Address Line 1</TH>
    <TH>Address Line 2</TH>
    <TH>Address Line 3</TH>
    <TH>Address Line 4</TH>
    <TH>Postcode</TH>
</THEAD>
<TR>
    <TD><SPAN DATAFLD="Name"></SPAN></TD>
    <TD><SPAN DATAFLD="Date"></SPAN></TD>
    <TD><SPAN DATAFLD="Customer Name"></SPAN></TD>
    <TD><SPAN DATAFLD="Address Line 1"></SPAN>
    <TD><SPAN DATAFLD="Address Line 2"></SPAN>
    <TD><SPAN DATAFLD="Address Line 3"></SPAN>
    <TD><SPAN DATAFLD="Address Line 4"></SPAN>
    <TD><SPAN DATAFLD="Postcode"></SPAN>
</TR>
</TABLE>

The trouble I have is that my Field Delimiters and Text Qualifiers don't work! The contents of the file Im trying to pull data from look like this:

"Name","Date","Customer Name","Address Line 1","Address Line 2","Address Line 3","Address Line 4","Postcode",
"Joe","20/01/2005","Smith","20","Heron Cls","N Somerset","Uk","BS22 3DG"

Can anyone explain what is going on here?

thanks
interrupt

__________________
\'sync\' &lt;cr&gt;
The name specified is not recognized as an internal or external command, operable program or batch file.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Setting Text Fields in a Tabular Form Nadine Access VBA 2 January 17th, 2007 01:57 PM
fusion between matrix and tabular report.. johnnygut Reporting Services 0 November 16th, 2006 04:15 PM
Two controls with tabular data - which ones? pettrer ASP.NET 2.0 Professional 3 April 5th, 2006 01:00 PM
ADO Data Control Thurston VB.NET 2002/2003 Basics 3 December 6th, 2005 10:38 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.