× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.


  • Subject: Re: Query/400 Trainee
  • From: "Bill" <brobins3d@xxxxxxxxx>
  • Date: Wed, 28 Jun 2000 10:02:49 -0700

> We have populated a file with cumulative lead time to manufacture end
item,
> including ordering raw materials and how long to manufacture in house,
> assuming got enuf raw.  Now we want to use this in queries.  The lead time
> days fields are 3 long with zero decimal places.
>
> Plan_Date   = Current (Date) + Lead
>
> This is not allowed

This is because you are using 2 different data types.  To Query this would
be like adding a number to a character field.  You need to add a number to
the number of days and then convert this back to a date.

Try this (I haven't verified it's accuracy):

Plan_DateD = Days(Current(Date)) + Lead
Plan_Date = Date(plan_dated)

Plan_DateD will hold the sum of the number of days and then Plan_Date will
be the converted date value of these days.

Bill


__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com
+---
| This is the BPCS Users Mailing List!
| To submit a new message, send your mail to BPCS-L@midrange.com.
| To subscribe to this list send email to BPCS-L-SUB@midrange.com.
| To unsubscribe from this list send email to BPCS-L-UNSUB@midrange.com.
| Questions should be directed to the list owner: dasmussen@aol.com
+---

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-2024 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.