>>Maybe computed column is what I am looking for. Because in VFP the MyDateFunc is a computed column (I just didn't remember this term). I will have to look into how to create those. Thank you.
>
>This is very simple in both table designer or a script.
>
Computed column didn't work. The syntax of the SQL Select that is generated by SF Query is as following (simplified):
select * from MyTable where MyDateFunc( Date1, Date2) > 3
I added computed column MyDateFunc to the SQL database table. But I suppose the computed column does not accept parameters. So the error message I get is
"MyDateFunc is not recognized built-in function name"
I suppose if I change the name of the computed field in my VFP database not to have parameters, it could possibly work. And I will also try the function approach.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham