Visual Basic Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsProgrammingVisual Basic Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old October 7th, 2005, 08:45 PM
gecko36 gecko36 is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Aug 2005
Location: Where I sleep
Posts: 207 gecko36 User rank is Private First Class (20 - 50 Reputation Level)gecko36 User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 1 Day 22 h 10 m 25 sec
Reputation Power: 4
Send a message via ICQ to gecko36
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?

Reply With Quote
  #2  
Old October 8th, 2005, 12:15 AM
Doug G Doug G is offline
Grumpier Old Moderator
ASP Free God 11th Plane (10000 - 10499 posts)
 
Join Date: Sep 2003
Posts: 10,143 Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 3 Weeks 4 Days 23 h 19 m 36 sec
Reputation Power: 181
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.
Comments on this post
gecko36 agrees: Yep, it was a textbox on the form
__________________
======
Doug G
======
I didn't attend the funeral, but I sent a nice letter saying I approved of it. --Mark Twain

Reply With Quote
  #3  
Old October 8th, 2005, 11:35 AM
gecko36 gecko36 is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Aug 2005
Location: Where I sleep
Posts: 207 gecko36 User rank is Private First Class (20 - 50 Reputation Level)gecko36 User rank is Private First Class (20 - 50 Reputation Level) 
Time spent in forums: 1 Day 22 h 10 m 25 sec
Reputation Power: 4
Send a message via ICQ to gecko36
"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

Reply With Quote
  #4  
Old October 8th, 2005, 02:26 PM
Doug G Doug G is offline
Grumpier Old Moderator
ASP Free God 11th Plane (10000 - 10499 posts)
 
Join Date: Sep 2003
Posts: 10,143 Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 3 Weeks 4 Days 23 h 19 m 36 sec
Reputation Power: 181
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.
Comments on this post
gecko36 agrees: Helpful again! Thanks!

Reply With Quote
Reply

Viewing: ASP Free ForumsProgrammingVisual Basic Programming > What is OLCAS


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway
Stay green...Green IT