Wrox Programmer Forums
|
Access Discussion of Microsoft Access database design and programming. See also the forums for Access ASP and Access VBA.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 7th, 2005, 03:03 PM
Friend of Wrox
 
Join Date: Jan 2005
Posts: 471
Thanks: 0
Thanked 1 Time in 1 Post
Default

if you have a text box on your main form, name it username. In your vb code, once you've verified the id & password, open the main menu form, set username = id.
might look like this:

if userid valid and password valid then
   docmd.openform mainmenu
   forms!mainmenu.username = forms!loginform.userid
   docmd.close loginform
end if

now on your mainmenu form you have the userid.

good luck

Kevin

 
Old February 10th, 2005, 03:12 PM
Authorized User
 
Join Date: Feb 2004
Posts: 56
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Sorry every one i can not fix it but i attach my form so if any can fix it please please please you can download it from here
http://www.hgh.demon.co.uk/lform.zip

Best Regards,
Hamed Gholamian





Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with passing args Siblja Java Basics 1 February 6th, 2007 10:24 AM
Passing value without using sessions lic023 Classic ASP Basics 1 July 20th, 2004 09:58 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.