|Think about Loose Coupling|
Re^6: global varby tultalk (Monk)
|on Apr 06, 2017 at 21:46 UTC||Need Help??|
our $LoggedOn_user_id = 0;
Initializing variable. Later modified with data I want to share to other unit,
Unit? Module? same difference, is it not?
No on the var names being duplicated. Did multiple searches. Only one declaration with values loaded at different locations in program.
This whole program is for a landlord association. Member logs on. Drill down to their status which is loaded into dataset displayed on form (using their unique id passed with $LoggedOn_user_id to the unit generating/displaying dataset. Display includes the number of tenants associated with this member. Next step is to drill down with click on that number to pull up another dataset of all tenants to display.
When I manually set value in calling unit:
It of course works fine.
Have another global
Passing variables not new.