- Jun 6, 2020
- 11,576
- 4,480
Since the latest update of B4A, there is a section of code relating to passing in a cursor as parameter that is no longer performing as it did in the past. The following line of code passes a cursor, map and spinner in as parameters to a "General Module" that then populates all the parameters and returns them to the original function (Note that "CursorScorerUmpire" is declared in Process_Globals):
B4X:
The "General Module" code header is as follows:
B4X:
Once the Cursor, Spinner and Map are populated by running a DB query in the code above, the objects are passed back to the original Sub. At that point I run the following code to check if the Cursor Recordset does contain any...
B4X:
modGeneral.QueryScorerUmpire(CursorScorerUmpire, spnUmpire2, MapScorerUmpire, NewGame.TheServerRegionID, "Please select an Umpire")The "General Module" code header is as follows:
B4X:
Sub QueryScorerUmpire(CursorScorerUmpire As Cursor, SpnScorerUmpire As Spinner, mapScorerUmpire As Map, RegionID As Int, HintText As String)Once the Cursor, Spinner and Map are populated by running a DB query in the code above, the objects are passed back to the original Sub. At that point I run the following code to check if the Cursor Recordset does contain any...
برای دیدن لینک ها باید ثبت نام کنید
برای دیدن لینک ها باید ثبت نام کنید