[Ka...] Posted Tuesday at 01:59 PM Share Posted Tuesday at 01:59 PM Moin, Mein erstes Post bei PiWeb, bitte schon mal um Entschuldigung für einfache Fragen... 🙂 CALYPSO 7.4.24, PiWeb 8.2.31 Ich habe eine benutzerdefinierte beschreibbare Variable myPrint mit 0 vorbelegt. Mögliche Werte sind 0 und 1, also Boolean. Eine Protokollkopf variable u_print ebenfalls mit 0 oder 1. Test anzeigen eines Textes im Protokollfuß: ${IfEqual(Qdb.Property("u_print"),"1" ,"We need Wurst" )} Die variable u_print wir im Protokollfuß des PiWeb Formulars leider nicht ausgewertet ( warum auch immer...?? ). Gleicher Test im Container Header funktioniert aber. Idee: Eine hoffentlich globale variable myPrint zu nutzen um den status von u_print in den Protokollfuß zu "transportieren". Also im Header folgendes: ${IfEqual(Qdb.Property("u_print"),"1" ,myPrint = 1 )} Im Protokollfuß dann den test auf myPrint: ${IfEqual(myPrint,"1" ,"We need Wurst" )} Die Zuweisung myprint = 1 funktioniert aber nicht😒 Wie weise ich einer Variablen einen Wert zu? Und wieso funktioniert u_print nicht im Protokollfuß?? Beste Grüße Karsten Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in