access course microsoft training - data validation
Microsoft Office Training verified by visa - mastercard securecode about microsoft training company london ukadd this page to your favourites/bookmarksAdd to favourites
view a printable version of this pagePrintable version
email this page to somebodyEmail this page
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

The UK's most regular instructor-led training courses.
Training information: access course microsoft training · Microsoft.access.courses · Microsoft Access Training London
See also · microsoft access training · access vba courses · access database course

resolvedResolved · Low Priority · Version Standard

Data Validation

Nick has attended:
Access Intermediate course
Access Advanced course
Excel Advanced course

by - delegate Nick [4 posts] (2007 Jan 23 Tue, 14:28) replyReply

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

Access VBA 2 day course
Version Date Location Places
available
Book Next place rate:
Card Invoice
2003 2008 Sep 4 Thu + 5 Fri Southwark 0 FULL    
2003 2008 Oct 20 Mon + 21 Tue Southwark 6 book now £450 £485
2003 2008 Nov 6 Thu + 7 Fri Southwark 6 book now £450 £485
2003 2008 Dec 4 Thu + 5 Fri Southwark 7 book now £345 £399
2003 2009 Jan 8 Thu + 9 Fri Southwark 7 book now £345 £399
2003 2009 Feb 5 Thu + 6 Fri Southwark 8 book now £275 £399
Full Schedule: See all 15 Access VBA course dates.
Bookings currently available until 5th November 2009.

RE: Data Validation

by - trainer Carlos gold contributer[394 posts] (2007 Jan 26 Fri, 12:54) replyReply

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

RE: Data Validation

by - delegate Nick [4 posts] (2007 Jan 29 Mon, 10:04) replyReply

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

RE: Data Validation

by - trainer Richard platinum contributer[785 posts] (2007 Feb 8 Thu, 10:05) Edited on 2007 Feb 8 Thu, 10:06 replyReply

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


Related articles

· Turning your Spreadsheets into Interactive Data Warehouses with MS Access Courses
· Access Database Optimization: First Normal Form
· Reasons to Consider Microsoft Access Training
· Access VBA Training Adds Power to your Databases
· MS Access: Access your Personal Information with Ease

Access tip:

Hiding rows and columns

To hide a column or row in Access, you need to minimise the column or row. This can be done by placing your mouse on the right edge of a column, wait for the mouse to change to a double aroow and then drag to minimise the column

View all Access hints and tips

Institute of IT Training - Accredited Training Provider Microsoft Certified Partner
microsoft office
Microsoft Office Specialist Authorised Testing Centre (MOS and MCAS)

Prodigy Platinum Learning Partner

Institute of IT Training - Accredited Training Provider Association of Computer Trainers Valid HTML 4.01 Transitional
Valid CSS Markup

secure online payments - visa - mastercard

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

Training by application Main information pages See also

Access courses
DreamWeaver courses
Excel courses
MS Project courses
Outlook courses
PowerPoint courses
VBA courses
Word courses
(more...)

Public scheduled courses
On-site training
Closed company courses

Microsoft Office training
Pricing and availability
Training schedule
Training venues

Access training
Dreamweaver training
Excel training
MS Project training
PowerPoint training

London Computer Training
Computer Training London

Microsoft Access training
Microsoft Excel training
Microsoft Project training
Microsoft Outlook training
Microsoft Powerpoint training
Microsoft Word training

Time Management Course London

Interested in Access training? Please see the following pages:
microsoft access courses · microsoft training access course
microsoft+access+training · access courses in london

Training Information
AddThis Social Bookmark Button What's this?
Add to Del.icio.us Add to Facebook Add to Digg Add to Reddit Add to Google Add to Yahoo Add to Diigo Add to Mr. Wong Add to Linkarena Add to Power Oldie Add to Folkd Add to Jumptags Add to Upchuckr Add to Simpy Add to StumbleUpon Add to Slashdot Add to Netscape Add to Furl Add to Spurl Add to Blinklist Add to Blogmarks Add to Technorati Add to Newsvine Add to Blinkbits Add to Ma.Gnolia Add to Smarking Add to Netvouz