Unterprogramm zum Lesen der TinyWebDB

An verschiedenen Stellen soll eine Routine aufgerufen werden, die aus der Datenbank liest:

Zwischenablage02

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

Taifun


Trying to push the limits! Snippets, Tutorials and Extensions from Pura Vida Apps by Taifun.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.