here we go thank you rob
thats the complete insert record function and at botomb my tables defintions
************************************************************
<form name="form2" method="POST" action="<%=MM_editAction%>">
<table border="1" cellpadding="0" cellspacing="0" bordercolor="#CC0000" width="632">
<tr>
<td>
<table border="1" cellpadding="0" cellspacing="0" bordercolor="#FFFFFF" width="629">
<tr>
<td bgcolor="lightblue"> <font size="2"><b>Members name </b></font></td>
<td bgcolor="lightgrey">
<input type="text" name="memname">
</td>
</tr>
<tr>
<td bgcolor="lightblue"><b><font size="2">Contact person initials/name/surname</font></b></td>
<td bgcolor="lightgrey"> <font size="2"><b>
<input type="text" name="initials" size="6" maxlength="6">
<input type="text" name="name">
<input type="text" name="surname">
</b></font></td>
</tr>
<tr>
<td bgcolor="lightblue"><b><font size="2">Company name</font></b></td>
<td bgcolor="lightgrey">
<input type="text" name="compname">
</td>
</tr>
<tr>
<td bgcolor="lightblue"><b><font size="2">Telephone no.</font></b></td>
<td bgcolor="lightgrey"> <font size="2"><b>
<input type="text" name="telno" value="tel">
<input type="text" name="celno" value="cel">
<input type="text" name="faxno" value="fax">
</b></font></td>
</tr>
<tr>
<td bgcolor="lightblue"><b><font size="2">Member & funeral no.</font></b></td>
<td bgcolor="lightgrey"> <font size="2"><b>
<input type="text" name="memno">
<input type="text" name="bonfunerno" value="<%= Request.Form("fno"

%>">
</b></font></td>
</tr>
<tr>
<td bgcolor="lightblue"><b><font size="2">Call status</font></b></td>
<td bgcolor="lightgrey"> <font size="2"><b>
<select name="calstat">
<option value="resolved">Resolved</option>
<option value="n/resolved" selected>N/Resolved</option>
</select>
</b></font></td>
</tr>
<tr>
<td bgcolor="lightblue"><b><font size="2">Query</font></b></td>
<td bgcolor="lightgrey"> <font size="2"><b>
<select name="query">
<%
while (!queries.EOF) {
%>
<option value="<%=(queries.Fields.Item("query"

.Value)%>"><%=(queries.Fields.Item("query"

.Value)%></option>
<%
queries.MoveNext();
}
if (queries.CursorType > 0) {
if (!queries.BOF) queries.MoveFirst();
} else {
queries.Requery();
}
%>
</select>
<img src="images/spacer_clear.gif" width="33" height="7">
<input type="text" name="other">
</b></font></td>
</tr>
<tr>
<td bgcolor="lightblue"><b><font size="2">To Do</font></b></td>
<td bgcolor="lightgrey"> <font size="2"><b>
<textarea name="todo" cols="50" wrap="VIRTUAL"></textarea>
</b></font></td>
</tr>
<tr>
<td bgcolor="lightblue"><b><font size="2">Solution</font></b></td>
<td bgcolor="lightgrey"> <font size="2"><b>
<textarea name="solution" cols="50" wrap="VIRTUAL"></textarea>
</b></font></td>
</tr>
<tr>
<td bgcolor="lightblue"><b><font size="2">Notes</font></b></td>
<td bgcolor="lightgrey"> <font size="2"><b>
<textarea name="notes" cols="50" wrap="VIRTUAL"></textarea>
</b></font></td>
</tr>
<tr>
<td bgcolor="lightblue"><b><font size="2">This call is being loged
by</font></b></td>
<td bgcolor="lightgrey"> <font size="2"><b>
<input type="text" name="coby" value="<%= Session("mm_username"

%>">
</b></font></td>
</tr>
<tr>
<td bgcolor="lightblue"><b><font size="2">Forward to</font></b></td>
<td bgcolor="lightgrey"> <font size="2"><b>
<select name="ptop">
<%
while (!users.EOF)
{
%>
<option value="<%=(users.Fields.Item("USERNAME"

.Value)%>" ><%=(users.Fields.Item("USERNAME"

.Value)%></option>
<%
users.MoveNext();
}
if (users.CursorType > 0) {
if (!users.BOF) users.MoveFirst();
} else {
users.Requery();
}
%>
<option value="<%= Session("mm_username"

%>" selected><%= Session("mm_username"

%></option>
</select>
</b></font></td>
</tr>
</table>
</td>
</tr>
</table>
<p>
<input type="submit" name="Submit" value="Submit" onClick="tmt_confirm('Are%20you%20sure%20you%20want%20to%20log%20this%20record?');return document.MM_returnValue">
<input type="reset" name="Submit2" value="Reset">
</p>
<input type="hidden" name="MM_insert" value="true">
</form>
***********************************************************
| ID | int(11) | | PRI | NULL | auto_increment
| compname | varchar(50) | YES | | NULL |
| bonfunerno | varchar(50) | | | |
| memno | varchar(50) | | MUL | |
| name | varchar(50) | | | |
| surname | varchar(50) | | | |
| initials | varchar(50) | | | |
| memname | varchar(50) | | | |
| telno | varchar(50) | YES | | NULL |
| celno | varchar(50) | YES | | NULL |
| faxno | varchar(50) | YES | | NULL |
| calstat | varchar(50) | YES | | NULL |
| query | varchar(50) | YES | | NULL |
| oth | varchar(50) | YES | | NULL |
| todo | longtext | YES | | NULL |
| solution | longtext | YES | | NULL |
| notes | longtext | YES | | NULL |
| coby | varchar(50) | YES | | NULL |
| ptop | varchar(50) | YES | | NULL |
| actdone | timestamp(14) | YES | | NULL |
| actdate | timestamp(14) | YES | | NULL |
+------------+---------------+------+-----+---------+----------------
21 rows in set (0.17 sec)
thank you