I am using VFP 7.0
Here is my issue
I have a field which is character named TransDate
In an SQL statement I would like to use an ORDER BY on this field
Because the field is character 01/05/2004 comes after 10/15/2005
I thought I could use the following
ORDER BY TransAct.Pcard, right(transdate,4), transdate
I get an error indicating that the column Pcard can not be found
The following code works
ORDER BY TransAct.Pcard, transdate
Any thoughts
Kevin Cotter
Byron Schools
Here is my issue
I have a field which is character named TransDate
In an SQL statement I would like to use an ORDER BY on this field
Because the field is character 01/05/2004 comes after 10/15/2005
I thought I could use the following
ORDER BY TransAct.Pcard, right(transdate,4), transdate
I get an error indicating that the column Pcard can not be found
The following code works
ORDER BY TransAct.Pcard, transdate
Any thoughts
Kevin Cotter
Byron Schools