I am having one hell of a time trying to make a form that adds new records to my MDB file. Here are the details:
database.mdb -- the tablename is "news_items", and the 2 fields are "news" and "date".
I have a form with this code:
-----------------------------------------------------------
<table>
<tr>
<form action="../news_entry.asp" method="post" name="news_entry">
<td valign="top">
<font face=tahoma size=3 color=brown><b>date</td>
<td><input type="text" name="date" size="10"></td>
</tr>
<tr>
<td valign="top">
<font face=tahoma size=3 color=brown><b>news</td>
<td><textarea COLS=55 ROWS=8 name="news"></textarea></td> </tr>
<tr>
<td></td>
<td><input type="submit" value="submit"></td>
</form>
</tr>
</table>
----------------------------------------------------------
now, i know i need to create an asp page that sends it to the table, but i just can't figure out how to do it - i've been trying for 6 hours straight. Could someone please help me fill in the missing link and help me with some code that will send this info into the MDB access database file? thanks!!!
database.mdb -- the tablename is "news_items", and the 2 fields are "news" and "date".
I have a form with this code:
-----------------------------------------------------------
<table>
<tr>
<form action="../news_entry.asp" method="post" name="news_entry">
<td valign="top">
<font face=tahoma size=3 color=brown><b>date</td>
<td><input type="text" name="date" size="10"></td>
</tr>
<tr>
<td valign="top">
<font face=tahoma size=3 color=brown><b>news</td>
<td><textarea COLS=55 ROWS=8 name="news"></textarea></td> </tr>
<tr>
<td></td>
<td><input type="submit" value="submit"></td>
</form>
</tr>
</table>
----------------------------------------------------------
now, i know i need to create an asp page that sends it to the table, but i just can't figure out how to do it - i've been trying for 6 hours straight. Could someone please help me fill in the missing link and help me with some code that will send this info into the MDB access database file? thanks!!!