Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MSHTML Processing Errors...

Status
Not open for further replies.

JavaStripped

Programmer
Dec 18, 2002
84
CA
I'm using the MSHTML control and an HTML table for my "database" interface (would like to use Access, but nothing has worked there so far). The problem I'm having with MSHTML is, in both table view and record list view I get a blank dummy record at the end of the data, and in record list view the final record's last field is not binding (all I get is the heading field, and not the body text field that is binding properly to all other records).

I'm using IE5, and I'm not concerned with compatibility outside newer versions of IE; is this a known glitch for this browser version, or is something else going on here? I'll be upgrading to IE6 as soon as the CD arrives (online installs don't work for me, for whatever reason). I've tried separating my records in the HTML data file using [tt]DIV[/tt] tags, thinking it might be a record-parsing problem (no luck), and I don't know what else to try, because the code should be treating all records the same way. Apart from the [tt]DIV[/tt] tags, there's nothing else inside the [tt]BODY[/tt] of the data HTML file, but it is a rather large data file... upwards of 1000 records. I've double-checked record integrity; everything shows up fine in the data file opened in IE. All of the data rows are [tt]TD[/tt] tags, not [tt]TH[/tt], and nothing I've read has helped me with this.

Mind you, the documentation I've found for dynamic tables and DB interfaces has been sketchy at best; I have a special fondness for big, thick reference books, most of which I take the time to read cover-to-cover when I first start working with the related technology. So far, I've found no such book that specifically focuses on HTML databases or database interfaces. The Access 2000 Client/Server book by Coriolis is good, but it focuses on Data Access Pages, and I'd rather not require all of my users to install Access if they don't need it for anything else.


JavaStripped
"I did *not* escape. They gave me a day pass."
 
[blush]
Fixed the glitches... they were errors in my database code after all. That's actually reassuring, in a way... I'd rather have a mistake be my fault than the result of something the computer's doing, because my behaviour is easier to correct.
[hammer]

[reading]
I'm still interested in recommendations for "how-to" guides for MSHTML, ODBC, and data binding in general. Something covering the entirety of "dynamic HTML in Internet Explorer" would be ideal, really... if I can lift it, that is... I need to work out more often.
[wiggle]



JavaStripped
"I did *not* escape. They gave me a day pass."
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top