Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Matrix rate
Message
From
29/06/1999 16:56:25
 
 
To
29/06/1999 15:57:31
Dovi Gilberd
Dovtware Consulting Inc
Miami, Florida, United States
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Miscellaneous
Thread ID:
00233562
Message ID:
00235523
Views:
37
>yes i know that this part of the function does that..the question is..
>is that par included in the code that you helped me with..?
>because thats what is need it to do,,
>
>code countyr rate1 rate2 raten
>0111575 Colombia .13 .28 .26
>
>if a call was made with rate 2 to 011575898998 i neet this to return .28 in my grid..is the function supose to do that......? im sorry to botheryou men...?
>
No; it always returns a field called long_distance.rate if it finds a match; I'm afraid you'll have to take the approach of figuring out what needs to be done and reworking the code yourself.

Dovi, at this point, you need to get someone who knows VFP to do this project, or if you know VFP, you need to read the code and figure out what's there. UT is a great resource for getting help when you're stuck, but it's not a place to find a consultant to do your work for you for free.

>
>
>
>
>
>
>
>>>ed in what part of the function it goes and chooses the rate correctly..
>>>dont i have to put
>>>a for(i) statemnet like this so it brings the actual value...
>>>
>>> if found()
>>> for lN = 3 to fcount()
>>> if upper(field(lN)) = upper(pCode)
>>> lRate = eval(field(lN))
>>> exit
>>>
>>
>>If pCode contains a field name, then EVAL(pCode) would return the value of the field whose name was contained in pCode.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Reply
Map
View

Click here to load this message in the networking platform