We are using Remote desktop and MS access runtime to run accde database. it is more of data entry type with small user base of 5-10 users only, all using their individual accde files. the access file open at startup, user do their work and there is an exit button which quits access file. Now question is :
Is there any way to quit ms access application ( Docmd.Quit ) and logging off current user ( shell command "cmd.exe shutdown /l" ) at the same time? The problem is, if we quit application then shell command is not executed.
i have tried docmd.Quit and shell (cmd.exe shutdown /l) when user clicks exit. The application quits but log off is not done. I just want both things so that user uses only ms access and nothing else as it is not needed. Printing is done via network printing.