Chet,
>I am having an issue with my Parameter in my SelectCmd of my cursor adapter. I want an empty cursor to be returned if I set the value of my parameter to .null. This works great for CHAR fields, however, integers, I am getting an error.
See my reply to MikeY for some more details on his idea.
Meanwhile, are you just looking for a way to get an empty cursor whenever you want one? If so, just call CursorFill(.T., .T.) -- the first param is lUseCursorSchema and the second param is lNoData.
NOTE: You probably need to add your usual third and fourth params to make this work -- I usually don't work with ADO in CursorAdapter, so I haven't tested just the two params with DataSourceType = "ADO".