×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.




No, you just need to make an IF statement comparing against the two dates.


Michael Schutte
Admin Professional
Bob Evans Farms, Inc.
"The Secret's the Sauce! Enjoy our new Bob-B-Q Pulled Pork Knife & Fork
Sandwich!"




"derek gonsalves"
<d_gons@xxxxxxxxx
om> To
Sent by: RPG400-L@xxxxxxxxxxxx
rpg400-l-bounces@ cc
midrange.com
Subject
Check date range
07/24/2007 10:13
AM


Please respond to
RPG programming
on the AS400 /
iSeries
<rpg400-l@midrang
e.com>







Hello everyone,

Is there any Op-code for date Range?
I have a date field which is 7,0 in length - 1072207
(Century/month/day/year)
The requirement is as follows -
I need to enter a rate for a particular period for a product.

Perid
From To Product
07//16/07 08/16/07 ABC

Now i need to perform validations to make sure that the next date range
entry for that product does not exist.

Thus -
07/23/07 to 08/23/07 should not be allowed , since we already have a rate

for that product in that period(rate for the same product should be
allowed
as long as they reference disjoint periods)

Is there any opcode which i can use for checking the range OR any other
suggestion?

Thanks in advance
Derek


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2026 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.