Solved

Editing data using Tabular Data Control and IE4

Posted on 1999-01-19
6
201 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
  • 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
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 
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

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Bad <form> statement? 9 31
Wrapper for APPs 9 76
Removing HTML elements using javascript 4 45
Can't get container centered 4 13
Introduction The Google Maps API offers various ways to draw dynamic and static maps.  Using a combination of PHP and JavaScript, you can draw active JavaScript maps that allow pan-and-zoom in the client browser window.  You can also draw "static" …
Find out what you should include to make the best professional email signature for your organization.
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…
In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…

773 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