General information
Category:
Databases,Tables, Views, Indexing and SQL syntax
Martin,
You can use the max() function of visual foxpro to determine which of your express is the maximum one.
Try to make a prg example nmax.prg and from it, you can now make SQL statement to determine which one is maximum.
SELECT nmax(a.one,a.two,a.three,a.four) AS maxvalue FROM one a INTO CURSOR sample
*************
* NMAX.PRG
**************
PARAMETER one,two,three,four
nmax=MAX(one,two,three,four)
RETURN nmax
REYMUNDO A.ESCOTE
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only