mhopemhope
Posts: 1
|
| Posted: 09/14/2008, 11:13 AM |
|
hi,
my problem is that a have 3 textbox (TxtDia,TxtMes,TxtAn)to enter a date, but on the db i have 1 field called fecha_nac. where and how can i do that insert.
|
 |
 |
wkempees
Posts: 1679
|
| Posted: 09/15/2008, 8:41 AM |
|
Hidden field fecha_nac on the form.
In the On Validate of that field:
$fecha_nac = $Container->TxtDia->GetValue();
$fecha_nac .= "-";
$fecha_nac .= $Container->TxtMes->GetValue();
$fecha_nac .= "-";
$fecha_nac .= $Container->TxtANr->GetValue();
// echo "->" . $fecha_nac;
$Component->SetValue( CCParseDate($fecha_nac,array("d","-","m","-","yyyy")) );
_________________
Origin: NL, T:GMT+1 (Forumtime +9)
CCS3/4.01.006 PhP, MySQL .Net/InMotion(Vista/XP, XAMPP)
if you liked this info PAYPAL me: http://donate.consultair.eu
|
 |
 |
|