PC Review


Reply
Thread Tools Rate Thread

cascading combo - record count

 
 
Annette
Guest
Posts: n/a
 
      3rd Nov 2008
I have a form that I would like to use somewhat of a cascading combo.

The user will enter a transaction date and based upon the year of the
of date, the next field, rate combo will filter which rate should be
applied. This is working fine until the user enters a date where there
is no rate in the rate table. I would like a message to appear or
something to alert the user that there is no rate for that period of
time. Would this be best at the time they are in the rate field or as
soon as they finish entering the date?

How would I go about checking that there are no maching records in the
rate table.

Thank you!
 
Reply With Quote
 
 
 
 
Jeff Boyce
Guest
Posts: n/a
 
      3rd Nov 2008
Annette

Here's another approach to consider ...

If you let the user enter an invalid date (i.e., one for which you have no
rate info), you have to handle the fact that you have no rate info.

On the other hand, if you prevent the user from entering/selecting invalid
dates, you never have to deal with the missing rate info.

You could use either a validation rule for the date control, or you could
use the BeforeUpdate event on that control to better manage the message the
user sees.

Good luck!

Regards

Jeff Boyce
Microsoft Office/Access MVP


"Annette" <(E-Mail Removed)> wrote in message
news:01cdf829-6d04-43b3-b366-(E-Mail Removed)...
>I have a form that I would like to use somewhat of a cascading combo.
>
> The user will enter a transaction date and based upon the year of the
> of date, the next field, rate combo will filter which rate should be
> applied. This is working fine until the user enters a date where there
> is no rate in the rate table. I would like a message to appear or
> something to alert the user that there is no rate for that period of
> time. Would this be best at the time they are in the rate field or as
> soon as they finish entering the date?
>
> How would I go about checking that there are no maching records in the
> rate table.
>
> Thank you!



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Cascading Combo Box - 2nd combo box changing 1st in previous recor Sarah Microsoft Access Forms 1 23rd Nov 2009 05:37 AM
Cascading Combo Box - find record in query based on Newbie Microsoft Access Form Coding 0 13th Nov 2008 05:17 PM
Cascading combo only showing one record =?Utf-8?B?YXdyZXg=?= Microsoft Access Form Coding 7 24th Oct 2006 06:09 PM
Choosing record using cascading Combo Box =?Utf-8?B?RXJpYw==?= Microsoft Access Form Coding 1 11th May 2006 08:09 AM
selecting record from cascading combo box =?Utf-8?B?S2V2aW4=?= Microsoft Access Forms 0 19th Apr 2005 09:35 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:26 AM.