Hi,
What will happen to my modules, with functions and public variables when I split my database and in a multiuser environment?
I have created 2 modules. One of them has functions to get the next available numbers. The other one holds the Public Variable names that i need to around my application. My application will later be split FE/BE and the FE will be distributed to 10 users. Some tables will reside in the network drive.
One of the Public variables contained in one of the Modules is UNextWnum. Each User will use this variable to store the value generated from a textbox in one of the forms (FE). The variable will later be called to be used as a reference. Since I have 10 users and my database will be split
1. How do Modules, public functions and public variables behave in multiuser environment?
2. If USERA use the FE and, due to that proces has generated the value of WNext001, stored it in UNextWnum Public variable, and request for that value later, what value will it return? Does USERB gets the same value of WNext001 if he request for the value of Public variable UNextWnum? In this case, the expected return value for USERB should not be WNext001.
I guess my question is How does Public variables declare in modules behave in a multiuser environment? I'm thinking since they are Public and will now belong to one big database with 10 users, will these public variables be treated one and the same for all the 10 users. Does USERA's Public Variable UWNextNum value be different from USERB's Public Variable UWNextNum value?
Thanks for the clarification.
What will happen to my modules, with functions and public variables when I split my database and in a multiuser environment?
I have created 2 modules. One of them has functions to get the next available numbers. The other one holds the Public Variable names that i need to around my application. My application will later be split FE/BE and the FE will be distributed to 10 users. Some tables will reside in the network drive.
One of the Public variables contained in one of the Modules is UNextWnum. Each User will use this variable to store the value generated from a textbox in one of the forms (FE). The variable will later be called to be used as a reference. Since I have 10 users and my database will be split
1. How do Modules, public functions and public variables behave in multiuser environment?
2. If USERA use the FE and, due to that proces has generated the value of WNext001, stored it in UNextWnum Public variable, and request for that value later, what value will it return? Does USERB gets the same value of WNext001 if he request for the value of Public variable UNextWnum? In this case, the expected return value for USERB should not be WNext001.
I guess my question is How does Public variables declare in modules behave in a multiuser environment? I'm thinking since they are Public and will now belong to one big database with 10 users, will these public variables be treated one and the same for all the 10 users. Does USERA's Public Variable UWNextNum value be different from USERB's Public Variable UWNextNum value?
Thanks for the clarification.