Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Newbies question about IDC

0 views
Skip to first unread message

Ali Suffri Mohd Jaffar

unread,
Dec 20, 1996, 3:00:00 AM12/20/96
to

Since I'm still new for all this things, can anybody give me a step by step
instruction how to input/retrieve my data using any internet browsers. When
I called the HTML file, the browser gave me the IDC file. What is the
problem?? I'm using Windows NT 3.51 SP 5, IIS 1.0, Netscape 3.0 and
Microsoft Access and all these software are in the same computer. Is there
something else that I miss out???

Here are the file that I'm using which I got from one book. Thanks in
advance.

********************* HTML file **************************
<HTML><HEAD>
<TITLE> Guestbook - Using Intenet Database Connector</TITLE>
</HEAD><BODY>

<TABLE>
<TR><h2>
Guestbook - Using Internet Database Connector </h2>

<HR>Please enter the following information and press the SUBMIT button <BR>
<HR>

<P><form action="GuestBookInsert.idc" method=get>

<B>Please enter your name </B>
<input type="text" name="Name" value=" " size=35 maxlength=40>

<P><B>Please enter your e-mail address</B>
<input type="text" name="Email" value=" " size=45 maxlength=50>

<P><B>Please enter your comment below</B>
<textarea name="Comments" cols=70 rows=4></textarea>

<P><input type="submit" value="SUBMIT Guest Book Entry">
<input type="reset" value="Reset Form">

</form>
<p>

<HR><a href="GuestBookView.idc?">View Guest Book</a>

<HR>
</BODY></HTML>


************************* HTX File ******************************
<HTML>
<HEAD>
<TITLE>Thanks for the guest book entry! </TITLE>
</HEAD>
<BODY>

<h1>Guest Book entry added to Microsoft Access Database.</h1>

<HR>
<h2>
Hello <%idc.Name%>,
</h2>

Thanks very much for visiting this web site and signing the guest book. We
hope you visit this Web Site again., soon.

</BODY>
</HTML>


******************************** IDC File *******************
DataSource: GuestBook
Username: sa
Template: GuestBookInsert.htx
RequiredParameters: Name, Email
SQLStatement:
+INSERT INTO GuestBookEntries
+(Name, Email, Comments)
+VALUES ('%Name%','%Email%','%Comments%');

Steve Turetzky

unread,
Dec 20, 1996, 3:00:00 AM12/20/96
to

Ali,
Can you provide some insight as to what is happening that you don't
expect or failing to happen that you believe should be happening? What
you've posted looks okay to me.
Steve
--
Steven R Turetzky, UNISYS E-mail: stevenr...@UNN.Unisys.Com
Disclaimer: Opinions expressed are my own and not necessarily those of
Unisys.


Ali Suffri Mohd Jaffar <a...@ids.org.my> wrote in article
<01bbee69$7267c280$b9f1...@ali.ids.org.my>...

Rolf Schriemer

unread,
Dec 21, 1996, 3:00:00 AM12/21/96
to

"Ali Suffri Mohd Jaffar" <a...@ids.org.my> wrote:

Hi
did you set the the System DNS with the ODBC Administartor?
set GuestBook to an mdb file.

0 new messages