Solved

Editing data using Tabular Data Control and IE4

Posted on 1999-01-19
6
208 Views
Last Modified: 2010-04-09
I hope someone is familiar with this..  I am using the built-in Tabular Data Control (TDC) in Internet Explorer 4 to display, sort, and filter a recordset of text data.

I can display the data in form fields, but was wondering how to write that data to the source text file.

I would think that I should rewrite the text file, or export the current recordset to a text file of the same name.  Not sure which.  

Anyone have any clues?  
0
Comment
Question by:EvanL
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
6 Comments
 
LVL 6

Accepted Solution

by:
PBall earned 110 total points
ID: 1845457
TDC is read-only.  You can't add data to the source by using TDC.  In order to modify the data, you'll need server side scripting like ASP.

Or you might want to try the alternative and more powerful solution to TDC, RDS (Remote Data Services).

RDS will allow you to have your data in say.. Access mdb or SQL Server, and yes, you can update data directly from within IE4 using just the databinding.


see: http://www.microsoft.com/data/ado/adords15/


0
 
LVL 1

Author Comment

by:EvanL
ID: 1845458
One problem I see, is that the web server must be running RDS before I can make apps work.  The good thing about the TDC, is that it works anywhere on any server.  Also, it looks a lot more difficult to set up a simple page that displays data and lets the user edit it.

Comments?


0
 
LVL 6

Expert Comment

by:PBall
ID: 1845459
Nope, same stuffs as TDC, just set up the object, pass a SQL string to it to retrieve the data, everything else is standard databinding.

I've done a searchable, sortable by different fields company telephone directory (pulling 1000+ records) entirely in RDS.
It worked like a charm.
0
Secure Your WordPress Site: 5 Essential Approaches

WordPress is the web's most popular CMS, but its dominance also makes it a target for attackers. Our eBook will show you how to:

Prevent costly exploits of core and plugin vulnerabilities
Repel automated attacks
Lock down your dashboard, secure your code, and protect your users

 
LVL 6

Expert Comment

by:PBall
ID: 1845460
A suggestion, go visit www.microsoft.com/workshop, and take a look at their data binding section further (in HTML, DHTML, CSS)

If you poke around their sample RDS source code, you probably can understand how they are doing it.  It helps if you already know how to use ADO.
0
 
LVL 1

Author Comment

by:EvanL
ID: 1845461
Funny you should mention the telephone directory, because that is what I'm trying to do as well.  The problem I really see, is that the database and HTML will reside on a web server not owned by myself (rented).  So how can I identify the database in the ODBC applet in Control Panel on the remote server?  I guess the servers have to support IIS before I can do this, correct?

I've raised the points for the question.  Thanks for your help..
0
 
LVL 1

Author Comment

by:EvanL
ID: 1845462
Wanted to see if this made sense to you.. I put a MS Access DB on a webserver.  The DB has a table called "Table1" that contains everything I need to read and write to.  I then made a web page with the following:

-----------------

<object classid="clsid:BD96C556-65A3-11D0-983A-00C04FC29E33" ID="mydb" HEIGHT="0" WIDTH="0">
  <param name="Server" value="http://www.capu.net/~imagix/test">
  <param name="Connect" value="dsn=db1.mdb;uid=;pwd=;">
  <param name="SQL" value="select * from Table1">
</object>
<html>

<head>
<title></title>
</head>

<body>

<p><input TYPE="TEXTBOX" DATASRC="#mydb" DATAFLD="TPEWNum"> </p>
</body>
</html>

---------------------------------

When I run the webpage, the textbox is not populated with the data.  I'm not sure if the server is running the correct software to support RDS (what ever that software might be).  And I'm not sure if I have the dsn= correct.  I simply put the name of the file to access, with no username and password.

Any ideas?  I'd be glad to raise the points again for some help and more info.  

Thanks..
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article discusses how to create an extensible mechanism for linked drop downs.
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
In this tutorial viewers will learn how add a scalable full-width header using CSS3. Create a new HTML document with an internal stylesheet. Set a tiled background.:  Create a new div and name it Header. Position it with position:absolute at the top…
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…

724 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question