hello
i am looking forward to do an app for tasks, that are related to our cars.
i have a list KFZ-Liste, in which all my cars are. i the column Titel is the InternalNumber (IKZ) of the cars.
in my TasksList ( tbl_Termine) there is a related Column called IKZ, in which are the InternalNumbers vom KFZ-Liste.
if i add a new Task i have in the MainGallery a car picked, so that the Titel with the IKZ is selected.
the Tasks for the Cars that are created are shown, i can update them with the Patch function.
i have a Button to add a new Task for the selected Car with this Code:
Patch(
tbl_Termine;
Defaults(tbl_Termine);
{
Titel: "Neuer Termin";
'Termin vereinbart':false;
'abgeholt (Werkstatt)':false;
'zurück (Werkstatt)':false;
'Mängel behoben':false;
IKZ: {
Value: gal_alleKFZ.Selected.Titel;
ID:gal_alleKFZ.Selected.ID
}
}
)
but it does not work.
any ideas?