If you are referring to the SQL SELECT statement, then try using SELECT DISTINCT, not DISTINCTROW.
If you have been using SQL commands in Access, you will find some differences in how similar commands are used in VFP. VFP uses a more standard syntax than Access does. In other words, VRP's SQL...