
Announcements
Hallo,
gibt es eine Möglichkeit in dem folgenden Code noch ein Print mit einzubauen?
Ich möchte gerne nach dem betätigen einer Schaltfläche Daten "Patchen" und auch noch etwas drucken..
Concurrent(
Patch(
Störprotokoll;
{
Datum: Today();
Titel: DataCardValue22.Text;
Störungseingang: DateValue4.SelectedDate + Time (
Value(HourValue4.Selected.Value);
Value(MinuteValue4.Selected.Value);
0
);
Störungsausgang: DateValue5.SelectedDate + Time (
Value(HourValue5.Selected.Value);
Value(MinuteValue5.Selected.Value);
0
);
Bearbeiter: DataCardValue22_16.Text;
Störungsart: DataCardValue1.Selected;
'Anlagenausfall [m]': Int(DataCardValue22_13.Text);
Ursache: TextInput1_3.Text;
Problembeschreibung: TextInput1_4.Text;
Maßnahmen: TextInput1_2.Text;
'Einsatzbereit?': Icon3_1.Visible;
Bild_1: UploadedImage2.Image;
Bild_2: UploadedImage2_1.Image;
Bild_3: UploadedImage2_2.Image
}
);
)
If you put Patch and Print in concurrent, the app will print the screen without the new data because patch function takes time to complete while the print function will be trigger immediately.
---------------------------
If the solution I provided assisted you in resolving this issue, kindly select "Accept as solution" This will help others in finding the solution more expediently 😄Also, a Thumbs up would be a great compliment!