Free Lessons
Courses
Seminars
TechHelp
Fast Tips
Templates
Topic Index
Forum
ABCD
 
Home   Courses   TechHelp   Forums   Help   Contact   Merch   Join   Order   Logon  
 
Back to User Level Security    Comments List
Upload Images   @Reply   Bookmark    Link   Email   Next Unseen 
Stopped working got error
Jeff Nabarek 
      
2 years ago
got the following error:compile error

method or data member not found
TempVars("Username")=Username.Value

It says the error is in the above line.
I compared richards code to mine.  I don't see where the issue is.
Jeff Nabarek OP  @Reply  
      
2 years ago

Sami Shamma  @Reply  
             
2 years ago
I believe username is a reserved word
Jeff Nabarek OP  @Reply  
      
2 years ago
I changed Username to Uname.  Made no difference.  Same error comes up.  Open to suggestions.  I thank you for any assistance.  Richard uses Username.  His code does not come up with this error.  thank Sammi for his assistance.
Jeff Nabarek OP  @Reply  
      
2 years ago

Sami Shamma  @Reply  
             
2 years ago
Ok, I also use the same code from Richard in my applications. If none of the other moderators answer this question for you tonight, I will check my code and come back to you when I get into the office tomorrow.
Jeff Nabarek OP  @Reply  
      
2 years ago
Thank you Sami!!!
Sami Shamma  @Reply  
             
2 years ago
Hi Jeff

I have checked my code.
Looking at the procedure you have, you are assigning to a TempVars a value coming from Field called "Username"
Is that field on the form that is open and has focus?

or are you reading it from the table with a DLoockup?
Richard Rost  @Reply  
          
2 years ago
Did you check the spelling of your FIELD name on the form?

Run down the Troubleshooter?

This thread is now CLOSED. If you wish to comment, start a NEW discussion in User Level Security.
 

Next Unseen

 
New Feature: Comment Live View
 
 

The following is a paid advertisement
Computer Learning Zone is not responsible for any content shown or offers made by these ads.
 

Learn
 
Access - index
Excel - index
Word - index
Windows - index
PowerPoint - index
Photoshop - index
Visual Basic - index
ASP - index
Seminars
More...
Customers
 
Login
My Account
My Courses
Lost Password
Memberships
Student Databases
Change Email
Info
 
Latest News
New Releases
User Forums
Topic Glossary
Tips & Tricks
Search The Site
Code Vault
Collapse Menus
Help
 
Customer Support
Web Site Tour
FAQs
TechHelp
Consulting Services
About
 
Background
Testimonials
Jobs
Affiliate Program
Richard Rost
Free Lessons
Mailing List
PCResale.NET
Order
 
Video Tutorials
Handbooks
Memberships
Learning Connection
Idiot's Guide to Excel
Volume Discounts
Payment Info
Shipping
Terms of Sale
Contact
 
Contact Info
Support Policy
Mailing Address
Phone Number
Fax Number
Course Survey
Email Richard
[email protected]
Blog RSS Feed    YouTube Channel

LinkedIn
Copyright 2026 by Computer Learning Zone, Amicron, and Richard Rost. All Rights Reserved. Current Time: 4/30/2026 2:59:25 PM. PLT: 0s