An verschiedenen Stellen soll eine Routine aufgerufen werden, die aus der Datenbank liest:
Die Prozezur pruefenExistenz soll einen Rückgabewert true/false liefern.
Nun kann aber erst in "when DBUser GotValue" festgestellt werden ob das Lesen erfolgreich war. Wie mache ich es sinnvollerweise?
this is not possible for asynchronous methods
in the GotValue event you have to continue with your logic... just add a global variable, let's call it action...
if action = "value1"
then call procedureValue1
else if action = "value2"
then call procedureValue2