Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Database > SQL Language
Password Reminder
Register
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
SQL Language SQL Language discussions not specific to a particular RDBMS program or vendor.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the SQL Language section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old May 5th, 2006, 02:01 PM
Registered User
 
Join Date: May 2006
Location: Baltimore, Maryland, USA.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Check for items with low values

Hi all

I am using this forum because nobody uses the VBA forum and since this question is very similar to other forums, I hope that someone will read this one and give me some assistance.

How can you condition whether a form needs to be pop up or not when you start Access?

I have a table with three fields, Part No, Qty in Stock, Reorder Level.

What I want to do is to pop up a form listing the Part No of the products that needs to be reordered when I open the application in Access. That is, if the Qty in Stock field is less than the Reorder Level field for that record, I want to write that record to a form when I start Access. Of course, if all the products doesn't meet this criteria, meaning that the Qty in Stock is not LESS than the Reorder Level field, then the form should not Pop Up.

This is not specificially applied to Access, but may be for other databases. In other words, the logic is the same whether you work in Access, DB2 or SQL.

I simply could not find out how to condition this at run time. Remember that Access does NOT support triggers.

Any ideas would be welcome.

Thanks

Armando
(443) 386-7960

Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
code to check values in two columns?? Mazzy Excel VBA 2 December 13th, 2007 07:39 AM
populate status values for tracking action items miracles Excel VBA 1 May 16th, 2007 02:47 PM
check n uncheck items in checkboxlist in datalist moorejkrkumar ASP.NET 1.0 and 1.1 Basics 1 April 17th, 2007 01:39 PM
Check all Checkboxlist items on client-side avilren ASP.NET 1.0 and 1.1 Basics 2 July 9th, 2006 10:40 AM
Check values Dj Kat MySQL 2 March 23rd, 2006 04:10 AM



All times are GMT -4. The time now is 03:06 PM.


Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.