Topic: how to get date from another form date and store it in datetimepicker?
Hi, how to get date from another form date and store it in datetimepicker?
procedure frmRentalAdd_ComboBox1_OnChange (Sender: string);
begin
frmRentalAdd.DateTimePicker1.DateTime := StrToDate (SQLExecute ('SELECT testdate FROM rentaleqdb WHERE id = ' + (frmRentalAdd.ComboBox1.dbItemID) ) );
end;