Let me explain my problem...
I have 3 activities:
Both "FindByGeo" and "FindByName" have same Process Globals (they manage the same information, but searched by different means)
Right now "geoMapsDetails" obtains its data calling FindByGeo.Var1, FindByGeo.Var2 and so on.
I want to use the same "geoMapsDetails" with "FindByName" activity, but to be able to do that, I need to know which activity I came from.
Reading the forum, I found that I can use CallSubDelayed2 to send a specific variable, so I used: CallSubDelayed2(geoMapDetails,"ContinueExec", "FindByName") and now I can determine which Activity I came from.
Now my problem is (and where the post title came from ) to select which variables do I use. To avoid typing lots of if's and then's, I'd like to know if is there any way to do this:
Dim Origin as String
Dim MyVar as String
Dim RealContent as String
RealContent = execute(Origin & MyVar)
Where Origin & MyVar represents FindByName.Var1, and RealContent could countain the result.
I hope I explained myself succesfully
Thanks a lot!
I have 3 activities:
- FindByGeo
- FindByName
- geoMapDetails
Both "FindByGeo" and "FindByName" have same Process Globals (they manage the same information, but searched by different means)
Right now "geoMapsDetails" obtains its data calling FindByGeo.Var1, FindByGeo.Var2 and so on.
I want to use the same "geoMapsDetails" with "FindByName" activity, but to be able to do that, I need to know which activity I came from.
Reading the forum, I found that I can use CallSubDelayed2 to send a specific variable, so I used: CallSubDelayed2(geoMapDetails,"ContinueExec", "FindByName") and now I can determine which Activity I came from.
Now my problem is (and where the post title came from ) to select which variables do I use. To avoid typing lots of if's and then's, I'd like to know if is there any way to do this:
Dim Origin as String
Dim MyVar as String
Dim RealContent as String
RealContent = execute(Origin & MyVar)
Where Origin & MyVar represents FindByName.Var1, and RealContent could countain the result.
I hope I explained myself succesfully
Thanks a lot!