Database Management
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsDatabasesDatabase Management

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 Dev Shed Forums Sponsor:
  #1  
Old September 11th, 2003, 11:38 PM
Richa99 Richa99 is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Posts: 1 Richa99 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Angry Access 2000 Data Access Page Get Username

I have a Data Access Page that works fine. I have a button on it which also works fine and populates a field when clicked.

Problem is I want to populate the field with the current logged on user. I could get this working using WinNTSystemInfo but only when I ran the page inside Access, it wouldn't work when I ran the page on the web server.

There seems to be plenty of advice on how to do this with ASP pages and everything else but not with DAP.

I have been looking at:-
Request.ServerVariables - but I think that only works with ASP
AdvAPI32.dll - Used Declare Function but i think that only works with VB not VBScript. Have also tried using it with DLLImport but that is always talked about in a .net context.

All PC's on our Intranet are Win2K running IE 5+

Any ideas

Thanks

Richard

Reply With Quote
  #2  
Old October 27th, 2003, 12:26 PM
johnwljones johnwljones is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2003
Posts: 1 johnwljones User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Check out:
URL

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesDatabase Management > Access 2000 Data Access Page Get Username


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