hii
i created a form like this
<html>
<head>
<title>ACCOUN T EXAMPLE</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body bgcolor="#FFFFF F" text="#000000">
<p> </p>
<p> </p>
<form name="form1" method="post" action="">
<table width="821" border="0" cellspacing="0" cellpadding="0" >
<tr>
<td width="239">
<div align="center"> <font size="2"><b>DAT E :</b></font>
<input type="text" name="txtDate">
</div>
</td>
<td width="312"> <font size="2"><b>DET AILS :</b></font>
<textarea name="txtDetail s" rows="2" cols="30">SALAR Y PAID
</textarea>
</td>
<td width="85">
<div align="center">
<select name="select">
<option>DEBIT </option>
<option>CREDI T</option>
</select>
</div>
</td>
<td width="102">
<div align="left">
<input type="text" name="txtAmount " value="RS 5000">
</div>
</td>
<td width="11">
<input type="submit" name="Submit" value="INSERT">
</td>
</tr>
</table>
</form>
<p> </p>
</body>
</html>
when the user selects debit I want the amount to go into the debit field
of the accounts table and when he users selects credit it should go into
the credit field(colum) of the accounts table
how can I do this in ULTRADEV or UD
*** Sent via Developersdex
http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!