Hi, im working on an app for registering drive miles, for consultants.
The idea is:
when the app starts up, it checks the current User().FullName.
then i want it to write to a specific table according to which user is using the app.
i have created a table for each user. so if the user Consultant1 is running the app, it should read the table "Consultant1" and so on for Consultant 2,3,4,5 etc.
i have created the app from data source, and connected it to the first database, and its working. but now i want to implement the above function, so the different users dont see data from other users. So either it can check the user automatically in the background, or i can make a screen selection where the the user have to choose which person is using the app.
Im at a total blank point, since i dont know how to start on this.
ive attached 2 screenshots, the first screen how it looks for the user. when im logged in i see the data of the connected excel table.
2nd screenshot is excel sheet. each pane will contain the info from each user. but i dont know how to change the table which the user is connected to.
Sorry for the long wall of text, but wanted to explain it as well as i could.
If you could help with this i would be very grateful. Any code/guides and hints to where i can find info on this would be greatly appreciated.
Regards Henrik