Subject | Re: Difficult to assign a subject title |
---|---|
Author | Adam |
Post date | 2006-05-19T03:31:25Z |
--- In firebird-support@yahoogroups.com, "Dion" <27824912424@...> wrote:
would be quite simple and more efficient to boot.
Adam
>date
> >>If there is a relationship between HrsWorked and the invoice whose
> >>you want to refer toneed the
>
> Hi Helen,
>
> Yes there is a relationship between HrsWorked and the invoice. I
> resultant dataset to look as follows:-nul(hence 0
>
> ForkliftOID InitHrs HrsWorked InvoiceDate
> 001 0 40 10/10/2006
> 001 40 100 10/11/2006 etc...
>
> On the 10/10/2006 the max invoicedate before the 10/10/2006 was
> as InitHrs). On the 10/11/2006, the max invoicedate before November2006 was
> Oct 2006, hence the HrsWorked as InitHrs for the 10/11/2006 invoiceperiod.
>InitHrs
> The max invoicedate prior to the current invoicedate serves as the
> for the current invoicedate being processed.Do you have a problem with using a stored procedure, because that
>
> I hope this clarifies things. Thanks, Dion.
would be quite simple and more efficient to boot.
Adam