Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Last filled column
Message
From
03/05/2008 21:27:46
 
 
To
03/05/2008 08:08:49
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
01314907
Message ID:
01314991
Views:
8
Hi Tariq.

Possably the easiest would be something like
Select Max(Evl(Rate4, Evl(Rate3, Evl(Rate2, Rate1)))) as Result from Price into cursor Result

Ian Simcock.


>Dear Experts
>
>Price.dbf has following Five fields
>
>date ---- d(8)
>rate1 ---n(4)
>rate2 ---n(4)
>rate3 ---n(4)
>rate4 ---n(4)
>
>Data in fields as
>
>Date ---- rate1-----rate2-----rate3------rate4
>22/01-----195---------0----------0----------0---
>24/01-----195-------180---------0----------0---
>25/01-----225-------230-------215---------0--
>24/01-----335-------180-------200-------205
>
>Text1.value=25/1
>
>How to findout the value in last filled column in four columns i.e rate1,rate2,rate3 and rate4.
>
>The answer must be 215
>
>Please help
Previous
Reply
Map
View

Click here to load this message in the networking platform