M
Michael
I need to find the current value for a historical record.
It is tricky because I need to look in a field that has
multiple values.
This is what I want to do.
Current Data choice one (easy direct relationship)
Else
Current Data choice two(hard.. detailed below)
Else
Historical Data
I want to report the current price availble.
My sales table has item, customer, and history price.
Customer table has customer, contracts.
Prices table has customer, item, price.
Contract table has contract, item, price
The tricky part is is that the contract field in the
customer table has all the contracts that are currently
available to that customer in a sequetial array from left
to right. The number of contracts is variable from
customer to customer from 0 to 7.
example:
Contract
C1 C2 C8 C5
The pricing should be extracted so that
Contract = C1
if item is found in Contract table where contract = c1
Price
else
if item is found in contact table where contract = c2
price
else
if item is found in contact table where contract = c8
price
so on and so forth...
If there is a way .... Well what can I say maybe I will
get some rest this weekend.
Thanks in advance.!!!
It is tricky because I need to look in a field that has
multiple values.
This is what I want to do.
Current Data choice one (easy direct relationship)
Else
Current Data choice two(hard.. detailed below)
Else
Historical Data
I want to report the current price availble.
My sales table has item, customer, and history price.
Customer table has customer, contracts.
Prices table has customer, item, price.
Contract table has contract, item, price
The tricky part is is that the contract field in the
customer table has all the contracts that are currently
available to that customer in a sequetial array from left
to right. The number of contracts is variable from
customer to customer from 0 to 7.
example:
Contract
C1 C2 C8 C5
The pricing should be extracted so that
Contract = C1
if item is found in Contract table where contract = c1
Price
else
if item is found in contact table where contract = c2
price
else
if item is found in contact table where contract = c8
price
so on and so forth...
If there is a way .... Well what can I say maybe I will
get some rest this weekend.
Thanks in advance.!!!