I have in SqlServer a table that contains the name and description of the forms that I use in a system.
Is there any way to run the form with the name in a string variable ?.
example:
Currently do so.
It has to do something like this?
avoiding the Select case?
thank you
Is there any way to run the form with the name in a string variable ?.
example:
Currently do so.
B4X:
Dim lb as label = lstProg.Get (lstProg.SelectedIndex)
formName = lb.tag
Select Case formName
Case "UserLogin"
UserLogin.show (..., ..., ...)
...
...
end select
avoiding the Select case?
B4X:
Dim lb as label = lstProg.Get (lstProg.SelectedIndex)
formName = lb.tag
formName.show (... ....)
thank you
Last edited: