Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Modules / DAO / VBA / May 2008

Tip: Looking for answers? Try searching our database.

Capturing Global variable values

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Larry06Green - 13 May 2008 16:10 GMT
How do I write global variable values to a table. I have the following module
which captures the network user id and computername when they log into my
database.

Option Compare Database
Global racf As String
Global wkstation As String

Function GetName()
racf = Environ("username")
wkstation = Environ("computername")
End Function
AkAlan - 13 May 2008 17:27 GMT
This depends on whether you are updating the table or appending it. If you
are updating the try a sql UPDATE command and if you are appending the table
try an INSERT INTO command.

>How do I write global variable values to a table. I have the following module
>which captures the network user id and computername when they log into my
[quoted text clipped - 8 lines]
>wkstation = Environ("computername")
>End Function
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.