I have a main form and 2 sub forms loaded for Edit to 3 linked tables. On the main form load a module is run 'captureuserid'. The user id is successfully displayed on the main form. When I update THE FIRST SET OF tables on the form, I successfully update the sql column name-updt_oper_ID, on the sql table with the 'userID' that was captured on load.
Without closing the application, I click on a search button(command button) that queries the sql tables to bring in 3 new tables that are TO BE updated. I update all three tables successfully but have LOST THE USERID (add watch says its null) because the module is not rerun . I don't want to rerun the module to capture the windows login ID again, I want to keep,save,maintain it during the entire update , or insert session etc, no matter how many changes I make.
How do I maintain that windows userid in a global manner, during the application session ?
thanks, please keep it simple, Im new to access
Pat![]()