expression field query
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 » Expression field in Query - text limit

Expression field in Query - text limit

resolvedResolved · High Priority · Version 2000

replyReplyWed 10 Mar 2010, 11:33Delegate Gary said...

Expression field in Query - text limit

Hello,

I have a really complex expression field that I wish to use in a query to sort a group of numbers into different string values i.e. 172 = "Bread Maker", etc. This is based on the IF...Then...ElseIf....Else expressions using the IIF in the expression.

What I need is when the data is inported it looks at the [Officer] field and associates that officer to a string value.

I believe there is a limit on characters in expression fields, can you help me with this??

Thanks,

Gary

For upcoming training course dates see: Pricing & availability

replyReplyFri 12 Mar 2010, 11:06Trainer Jacob said...

RE: Expression field in Query - text limit

Hi Gary

Thanks for your post and outline of what you are trying to acheive.

To be in a position to confirm we can assist we would need to have access to your working files to see what solutions are possible.

This does take us beyond the scope of this forum and more into bespoke and consultancy areas. When we review your files we can let you know of scope of work, durations and costs.

If you would like to discuss this in further detail please contact us.

Kind regards

Jacob

replyReplyTue 16 Mar 2010, 08:47Delegate Gary said...

RE: Expression field in Query - text limit

Jacob,

Sorry, I am unable to send the file as it is a data protected document.

I think I have solved it anyway.

Thanks,

Gary

 

 

Please browse our web site to find out more about
microsoft access advanced training and other Microsoft training courses.

Access tip:

Calculating The Difference Between Dates

If you wish to calculate the time between two date fields, this can be done in a number of ways:

1. As a calculated field in a query
2. As a calculated control in a form or report
3. As a calculation in a VBA procedure.

The basic syntax to get the number of days between two dates is:

=[One Date Field] - [Another Date Field]

You can also use one of the following functions:

=Month([One Date Field] - [Another Date Field])
which calculates the number of months between the two fields

=Year([One Date Field] - [Another Date Field])
which calculates the number of years between the two fields.

Another function is the DateDiff() function.

It uses an argument to determine how the time interval is measured. For example:

=DateDiff("q",[One Date Field] - [Another Date Field])
returns the number of quarters between the two fields.

Other intervals that can be used in this expression are as follows:
"yyyy" - Years
"m" - Months
"d" - Days
"w" - Weekdays
"ww" - Weeks
"h" - Hours
"n" - Minutes
"s" - Seconds

View all Access hints and tips

forum postWhat can I use macros for in Powerpoint please

» Forum post: Powerpoint


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