hello,
i have 3 field in phpmaker, 1 field with name DATAAPPUNTAMENTO and 2 field with name ORARIO, i wish value of this 2 field, concatenate in 3 field with name PRENOTAZIONE i have this code , but i can only put value of 1 field, how i can join value of all 2 field ? i wish value of prenotazione , give me all two value of dataappuntamento and orario , so if dataappuntamento have 08/06/2020 and orario 1500 , field prenotazione value must have 08/06/2020 1500
thank you
}
// Load form values
function LoadFormValues() {
// Load from form
global $objForm, $DATABASE;
$DATABASE->DATA->setFormValue($objForm->GetValue(“x_DATA”));
$DATABASE->DATAAPPUNTAMENTO->setFormValue($objForm->GetValue(“x_DATAAPPUNTAMENTO”));
$DATABASE->ORARIO->setFormValue($objForm->GetValue(“x_ORARIO”));
$DATABASE->PRENOTAZIONE->setFormValue($objForm->GetValue(“x_ORARIO”));
$DATABASE->ID->setFormValue($objForm->GetValue(“x_ID”));
}
hello thank you, please you can say me code i must change ? i have this code
$DATABASE->PRENOTAZIONE->setFormValue($objForm->GetValue(“x_ORARIO”));
i wish field PRENOTAZIONE , = Field x_orario and field x_nome
what i say write ?
thank you i have insert code
// Row Inserting event
function Row_Inserting(&$rs) {
// $rsnew[“PRENOTAZIONE”] = $rsnew[“ORARIO”] . " " . $rsnew[“NOME”];
// To cancel, set return value to FALSE
return TRUE;
}
in servers event /client scripts
but i have errore
Fatal error: Call to undefined method cDATABASE::Row_Inserted() /DATABASEadd.php on line 945