Ah.... I forgot to mention. They say to use beforecursorfill to create queries on the fly. On the fly means in runtime. What? Are they kidding me? THAT'S A METHOD! I can't change a method's code in runtime! I am aware there are other approaches to change that code - writing it in a property and made the method to read that property. Why would one do that? There IS such property already! .SelectCmd! If i want to change the selectcmd, I change the selectcmd and that's it.
Such things makes you wonder if VFP goes in a right direction.
Grigore Dolghin
Class Software.