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 > Courses > Access > Expert > X28 > < X27 | X29 >
Back to Access Expert 28    Comments List
Upload Images   Link   Email  
Copy data for select cases
Ruth Muthoga 
    
3 months ago
What is the best way to copy data from field to another in certain cases?

My table has the following fields:
RoleID
RoleCode
PrimaryRole
ReportCode
ReportRole

I tried creating this table-level validation.
ReportReport: IIf([RoleID]<>5 Or [RoleID]<>6 Or[RoleID]<>7 Or [RoleID]<>8,
[PrimaryRole],"")

The error message reads: The expression you entered contains invalid syntax. You may have entered an operand without an operator.

How do I get the PrimaryRole to copy to ReportRole except when RoleID = 5,6,7 or 8?

This thread is now CLOSED. If you wish to comment, start a NEW discussion in Access Expert 28.
 

 
 
 

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 3:45:07 PM. PLT: 1s