Re: Which Workgroup Am I In?

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: '69 Camaro (ForwardZERO_SPAM.To.69Camaro_at_Spameater.orgZERO_SPAM)
Date: 01/11/05


Date: Tue, 11 Jan 2005 09:52:42 -0800

Hi, Roger.

In the Immediate window, type:

?DBEngine.SystemDB

and then press the <ENTER> key, and you'll see which workgroup information
file you are joined to.

Hitting the Run button executes the code starting where the cursor is
located in the code window, which is probably located outside of a public
procedure or inside a public procedure that requires parameters to be passed
to it, which you didn't provide. Hence, the "Macros" window displays for
you to select something else to execute.

HTH.

Gunny

See http://www.QBuilt.com for all your database needs.
See http://www.Access.QBuilt.com for Microsoft Access tips.

(Please remove ZERO_SPAM from my reply E-mail address, so that a message
will be forwarded to me.)

"Roger Tregelles" <Roger Tregelles@discussions.microsoft.com> wrote in
message news:EF66484B-E4AF-43B9-BC39-C5ED457CCD1A@microsoft.com...
> Hi Folks,
>
> I've read and re-read all I can about Microsoft Security (especially Jack
> MacDonald's guide). I created a new Workgroup File on a network drive for
my
> department. I then created a shorcut to log me onto this workgroup as
follows:
>
> "C:\Program Files\Microsoft Office\Office10\MSACCESS.EXE" /wrkgrp
> "Q:\QualityWorkgroup.mdw"
>
> When I execute the shortcut it brings me into Access no problem. However,
> when I go to Tools>Security>Workgroup Administrator it says I still am
logged
> onto the default workgroup instead of the new QualityWorkgroup. I've read
> postings here showing that this is normal, and that you need to use the
> DBEngine.SystemDB command to see which workgroup you are in. My question
is,
> how do I do this exactly. I don't know a lot about VB but saw a post that
> said to do this.
>
> Are you using the following in VBA's immediate window to make sure which
> .mdw you're joined to? - ? application.DBEngine.SystemDB
>
> I type "? application.DBEngine.SystemDB" in the Immediate Window in the VB
> Editor and then clicked on the Run button and all it does is bring up a
> window for Macros which has none listed. What am I doing wrong here? I
want
> to make sure I'm in the correct workgroup before I start creating User and
> Group accounts. I'm using Access 2002 in a Windows XP Professional
> environment. Any and all help would be greatly appreciated. Thanks in
advance.
>
> Roger Tregelles
> Quality Assurance Engineer
> Respironics Inc.
>



Relevant Pages

  • Re: Windows File Sharing Networking Problem
    ... >they are - as the workgroup name for all three systems are the same. ... window - Open c:\ipconfig.txt in Notepad, copy and paste into your next post. ... Open c:\netview.txt in Notepad, copy and paste into your next post. ... The Microsoft Browstat program will show us what browsers you have in your ...
    (microsoft.public.windowsxp.network_web)
  • Re: file sharing between domain and workgroup
    ... >I did a window update recently on the host computer ... >workgroup setup, i just want to access some folder ... >>account enabled to the domain computer. ...
    (microsoft.public.windowsxp.network_web)
  • Re: network connection problems
    ... >All three systems are in the same workgroup. ... window - Open c:\ipconfig.txt in Notepad, copy and paste into your next post. ... Open c:\netview.txt in Notepad, copy and paste into your next post. ... The Microsoft Browstat program will show us what browsers you have in your ...
    (microsoft.public.windowsxp.network_web)
  • Re: Newly added user cant login; password rejected
    ... Make sure that you are joined to the workgroup that you think you are. ... Close the window by selecting the "OK" button and exit ... Open the database again and log into the workgroup as the ... this user by using the User and Group Accounts dialog window. ...
    (microsoft.public.access.security)
  • Re: page margin
    ... > The problem was I didn't know what you meant by the "Immediate Window". ... > less time just copying my other report and modifying the copy. ... >> Allen Browne - Microsoft MVP. ...
    (microsoft.public.access.reports)