access course microsoft training - data validation
Microsoft Office TrainingThe UK's Number 1 for Microsoft Office Training Sitemap add this page to your favourites/bookmarksBookmark page
 
view a printable version of this pagePrintable version
Plus One Google
Customer: Sign in
Delegate: Sign in
Trainer: Log in

Forum home » Delegate support and help forum » Microsoft Access Training and help » access course microsoft training - Data Validation

access course microsoft training - Data Validation

resolvedResolved · Low Priority · Version Standard

replyReplyTue 23 Jan 2007, 14:28Delegate Nick said...

Data Validation

I am looking to do 2 things in a newly created database, and predictably, Help gives me nothing.

Firstly, I want to specify a rule that if certain fields in a form or subform are completed, all others must be to. How do I do this. I don't want to do it by making it a required field in the table for a number of reasons.

Secondly, I want fields in a form to autocomplete when certain data is entered. In this case, when leaving date is entered, I want data for 6 follow up dates to automatically fill in, 1 month after, 2 months after and so on.

Any help much appreciated.

Nick

For upcoming training course dates see: Pricing & availability

replyReplyFri 26 Jan 2007, 12:54Trainer Carlos said...

RE: Data Validation

Your first item requires somw VBA code to run it to your specifications

As for the second question all you need to do is make the subsequent date text boxes as calculated fields

So for example

You enter Today's date in a field called OrderDate

Then the field called OneMonth will have the calculation =[OrderDate] +30

replyReplyMon 29 Jan 2007, 10:04Delegate Nick said...

RE: Data Validation

Many thanks for the calculated field information, that is now working brilliantly.

Two further questions regarding VBA code.

1. Where is a good manual / tutorial for learning code, as I think it's the next thing I'm going to need to make myself better with access generally.

2. Could you give me the code for the following?

If [learning aim reference] is not null then [course title] must not be null

With that hopefully I could create the rest of what I need.

Many thanks

replyReplyThu 8 Feb 2007, 10:05 Edited on Thu 8 Feb 2007, 10:06Trainer Richard said...

RE: Data Validation

Nick,

Sorry for the delay in getting back to you on this.
To answer you second question:

When leaving date is entered, then autocomplete other fields

USE the following in the fields you want calculated.

=DateAdd("m",1,[leavingdate])
=DateAdd("m",2,[leavingdate])
=DateAdd("m",3,[leavingdate])

"m" stands for the interval, which is a month

Will need to do some work on your fiest question.
Perhaps one of our other trainers has some ideas.

Regards

Richard

 

 

Access tip:

Duplicating an Entry

To duplicate the entry press CTRL+' (apostrophe)this will copy the contents of the previous entry in the same field.
(Table view, line above) note this also works in Excel.

View all Access hints and tips

forum postHigh light the word you want to copy, than right click, choose paste.

» Forum post: What are the short cut keys for cut, copy & Paste


Rate this page:
2.2/5 (213 votes cast)
Accredited Training Provider: Institute of IT Training Institute of Leadership and Management - Certified Courses
Microsoft Certified Partner
Security Seal verified by visa, mastercard securecard

Mini sitemap. These are the main areas of our web site. Full sitemap.

Management training

Professional Skills courses
Project Management Course London
Project Management Courses London
Project Management Training London
Project Management Training
Project Seminar
Project Seminars
Time Management Course London
Time Management London
Time Management Courses London
Time Management Training London
Introduction to Finance course
Assertiveness Skills course
Effective Communications Skills training
Presentation Skills London

Training Formats

Public scheduled courses
On-site training
Closed company courses

Consultancy
Application Development

Blogs

Excel Training
MS Project Training
Microsoft Training Blog

Version differences

Office 2010 vs 2007
MS Project version differences

Training Information

London Computer Training
Computer Training London
Docklands Training Courses
Docklands Training London

Training venues London
Client list
FAQ
Pricing and availability
Course details / Syllabus

Training Articles
Training Information

Microsoft training

Microsoft Office training
& IT Applications

Microsoft Project training
Microsoft Outlook training
Microsoft Powerpoint training
Microsoft Word training
MS Project courses
MS Project training
Outlook courses
PowerPoint courses
PowerPoint training
VBA courses
Word courses
Microsoft.training
(more...)

Excel Training

Excel courses
Excel Training Courses Medway
Autonumber in Excel
Microsoft Excel training
Basic Excel Courses
Basic Excel Course
Basic Excel Training

Interested in MS Access training?

Access courses
Microsoft Access training
Microsoft access courses
Microsoft training access course
Microsoft+access+training
Access courses in london

Training provider

Training providers
IT training companies
IT training providers
Management Training providers
Management Training provider

Event history, feedback results
Events in 2012 · 2011 · 2010 · More

See also

Crystal Reports training