A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

cascading combo - record count



 
 
Thread Tools Display Modes
  #1  
Old November 3rd, 2008, 05:05 PM posted to microsoft.public.access
Annette[_3_]
external usenet poster
 
Posts: 32
Default cascading combo - record count

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!
  #2  
Old November 3rd, 2008, 05:27 PM posted to microsoft.public.access
Jeff Boyce
external usenet poster
 
Posts: 8,621
Default cascading combo - record count

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" wrote in message
...
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!



 




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 10:45 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.