Free Lessons
Courses
Seminars
TechHelp
Fast Tips
Templates
Topic Index
Forum
ABCD
 
Home   Courses   Index   Templates   Seminars   TechHelp   Forums   Help   Contact   Join   Order   Logon  
 
Home > TechHelp > Directory > Access > User Level Security 1 < Data Types | User Level Security 2 >
Back to User Level Security    Comments List
Upload Images   Link   Email  
Stopped working got error
Jeff Nabarek 
      
10 months 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 
      
10 months ago

Sami Shamma 
              
10 months ago
I believe username is a reserved word
Jeff Nabarek OP 
      
10 months 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 
      
10 months ago

Sami Shamma 
              
10 months 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 
      
10 months ago
Thank you Sami!!!
Sami Shamma 
              
9 months 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 
            
9 months 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.
 

 
 
 

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 2024 by Computer Learning Zone, Amicron, and Richard Rost. All Rights Reserved. Current Time: 12/13/2024 4:42:38 PM. PLT: 1s