Welcome to SPN

Register and Join the most happening forum of Sikh community & intellectuals from around the world.

Sign Up Now!
  1.   Become a Supporter    ::   Make a Contribution   
    Target (Recurring Monthly): $200 :: Achieved: $98

Get Computer Name

Discussion in 'Information Technology' started by PMK, Nov 4, 2005.

Tags:
  1. PMK

    PMK
    Expand Collapse
    Guest

    We have an orders database that runs over a network.

    What I would like is the ability to automatically insert the ID of the
    computer when ever a new record is entered and then lock that field so when
    the order is viewed later, it is obvious which terminal entered the order.

    Any ideas?

    regards and thanking you all in anticipation as always

    PMK
     
  2. Loading...

    Similar Threads Forum Date
    Computers Information Technology Nov 13, 2011
    SciTech Supercomputer Predicts Revolution Breaking News Sep 11, 2011
    Dr. Strangestlove (Or How I learned To Stop Worrying And Love My Computer) Inspirational Stories May 22, 2011
    SciTech Digging Deeper, Seeing Farther: Supercomputers Alter Science Breaking News Apr 27, 2011
    SciTech Scientists Create World's Smallest Computer Breaking News Feb 26, 2011

  3. Dean

    Dean
    Expand Collapse
    Guest

    take a look at http://www.mvps.org/access/api/index.html for a function to
    this and many other useful things.

    "PMK" <PMK@discussions.microsoft.com> wrote in message
    news:32F899BD-F759-4F1F-89B9-D37DE42DF0A7@microsoft.com...
    > We have an orders database that runs over a network.
    >
    > What I would like is the ability to automatically insert the ID of the
    > computer when ever a new record is entered and then lock that field so
    > when
    > the order is viewed later, it is obvious which terminal entered the order.
    >
    > Any ideas?
    >
    > regards and thanking you all in anticipation as always
    >
    > PMK
    >
    >
     
  4. Wayne Morgan

    Wayne Morgan
    Expand Collapse
    Guest

    Here is an example of retrieving the computer name.

    http://www.mvps.org/access/api/api0009.htm

    --
    Wayne Morgan
    MS Access MVP


    "PMK" <PMK@discussions.microsoft.com> wrote in message
    news:32F899BD-F759-4F1F-89B9-D37DE42DF0A7@microsoft.com...
    > We have an orders database that runs over a network.
    >
    > What I would like is the ability to automatically insert the ID of the
    > computer when ever a new record is entered and then lock that field so
    > when
    > the order is viewed later, it is obvious which terminal entered the order.
    >
    > Any ideas?
    >
    > regards and thanking you all in anticipation as always
    >
    > PMK
    >
    >
     
  5. PMK

    PMK
    Expand Collapse
    Guest

    Thanks Dean

    Sorted it

    Used the environ$("computername") gizmo

    PMK

    "Dean" wrote:

    > take a look at http://www.mvps.org/access/api/index.html for a function to
    > this and many other useful things.
    >
    > "PMK" <PMK@discussions.microsoft.com> wrote in message
    > news:32F899BD-F759-4F1F-89B9-D37DE42DF0A7@microsoft.com...
    > > We have an orders database that runs over a network.
    > >
    > > What I would like is the ability to automatically insert the ID of the
    > > computer when ever a new record is entered and then lock that field so
    > > when
    > > the order is viewed later, it is obvious which terminal entered the order.
    > >
    > > Any ideas?
    > >
    > > regards and thanking you all in anticipation as always
    > >
    > > PMK
    > >
    > >

    >
    >
    >
     
Since you're here... we have a small favor to ask...

More people are visiting & reading SPN than ever but far fewer are paying to sustain it. Advertising revenues across the online media have fallen fast. So you can see why we need to ask for your help. Donating to SPN's is vote for free speech, for diversity of opinions, for the right of the people to stand up to religious bigotry. Without any affiliation to any organization, this constant struggle takes a lot of hard work to sustain as we entirely depend on the contributions of our esteemed writers/readers. We do it because we believe our perspective matters – because it might well be your perspective, too... Fund our efforts and together we can keep the world informed about the real Sikh Sikhi Sikhism. If everyone who writes or reads our content, who likes it, helps us to pay for it, our future would be much more secure. Every Contribution Matters, Contribute Generously!

    Become a Supporter      ::     Make a Contribution     



Share This Page