Thank you for the assistance!
I presume your statement "self-healing" mean that each time the a form needs one of these variables then the function “CurrentUserDefault.userID” gets used/updated.
I wanted to get away from pulling the data out of the tables each time a variable is because...
I have created a type called :
Type userDefaults
userID as Integer
useraddress as string
userpermissions as string
End type
There is a login screen called frmlogin
in there is a function call to : Call getUserDefaults(Me!UserID)
The Module getUserDefaults looks like this...
I would like to create a timer to find bottlenecks in forms queries and code and also to try different code snippets.
Any ideas on how to do this?
thanks
Claude
Hi
I would like to use the statistic functions from Excel in Access.
I have added “Microsoft Excel 5.0 Object Library” to the references.
I have tried:
________________________________________________________________
Dim obj As Object
Set obj =...
Hi
I there any way to make a copy of an Original.mdb file while Original.mdb is open.
I tried :
Dim SourceFile, DestinationFile
SourceFile = "C:\Original.mdb" ' source file name.
DestinationFile = "C:\Backup.mdb" ' target file name.
FileCopy SourceFile...
Hi
I have a number of queries that are passed criteria via code
Query view:
|Field |CusLastName | etc.
|Table | CusTable |
|Criteria |Queryprop("Pass")|
Example Code:
"Function Queryprop(Prop) As String
Queryprop = Currentprop
End Function"
This works...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.