Results 1 to 2 of 2
  1. #1
    Star Lounger
    Join Date
    Jan 2010
    Thanked 0 Times in 0 Posts

    Pass parameter to an Access Project at startup?

    I have an Access 2010 Data Project app that will be placed on a Citrix Server. Each user authenticates via Citrix, so I'd to skip the authentication hassle on the front-end and somehow inherit a value -- perhaps user's email address or login ID -- from Citrix itself at runtime. Citrix is a trusted source and I could rely on and use the value/parameter it provided. However, I see that the /user and /pwd command line parameters only apply to Access databases, not projects. Is there any way to accomplish this when using an ADP?

  2. #2
    3 Star Lounger HiTechCoach's Avatar
    Join Date
    Sep 2011
    Oklahoma City, OK
    Thanked 37 Times in 36 Posts
    From within Access you can call a Windows API to get the current user. See:

    I use this to auto log in to Access apps. I get the User name at start up and validate them.
    Boyd Trimmell aka HiTechCoach (Access Information here)
    Microsoft MVP - Access Expert
    "If technology doesn't work for people, then it doesn't work."

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts