>>In vfp 6, Can you "select sum(price) from thisdbf where x=y" and have the result go to a var?
>
>Try
>
>SELECT SUM(price) FROM thisdbf WHERE x=y INTO ARRAY laResult
>
>? laResult[1]
? laResult
Just as if it a var. In VFP reference to array name returns the first element value ;)
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.comICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs
It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.