>hi how are you....did you by any chance take a pick at my function...?
>please i need some help
>
>>Can you post your function?
>>
>>>i need help witha function thet is not returning the corect rates for a customer according to the call made and the rate assigned to a custoime.rr
Dovi,
First of all your biggest problem is you don't specify your PROBLEM.
Second I believe your data structure is wrong.
If you are looking for a customer and a specific rate index and want to find the rate I would suggest to have a table like:
MyTable.customer_id,RateIndex,rate
And then do a locate for customer_id = xxx and rateIndex = yy
if found()
rate=MyTable.rate
endif
.....
Hope this helps
Peter
Peter Cortiel