|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
What is OLCAS
I have a database sample that includes a VBA script that says "OLCAS = 'RAMSD' " where the RAMSD I was told is a network log-on. However, I'm not sure what exactly OLCAS is or where it came from. Does anyone know what it is?
|
|
#2
|
|||
|
|||
|
Have you looked through the rest of the VBA code? My guess is this is some constant or variable set by the user code. I haven't heard of OLCAS as a built-in VBA constant anyway.
__________________
====== Doug G ====== I didn't attend the funeral, but I sent a nice letter saying I approved of it. --Mark Twain |
|
#3
|
|||
|
|||
|
"OLCAS" was an unbound textbox (okay, I know that much now but new question...)
OLCAS gets its value from some "=Environ("username")" What is that now? http://www.tek-tips.com/viewthread.cfm?qid=1127193&page=1 |
|
#4
|
|||
|
|||
|
Environ("whatever") returns windows environment variable data. If you open a command prompt window on a windows box and type SET you'll see many of these windows variables. Environment variables are often used by code, in your example the text box is picking up the Windows username.
|
![]() |
| Viewing: ASP Free Forums > Programming > Visual Basic Programming > What is OLCAS |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|