See CursorFill method for both issues. There is a parameter to specify use of your CursorSchema and one for no data. If you download and use my CursorAdapter VCX Builder, your CAs will have properties for these that will be used in the CursorFill method. The builder is free, has all source code and has extensive comments at the top of the PRG file on how to use it, gotchas, etc.
Just go to
http://www.mctweedle.com and click the FoxPro Tools link.
>problem 1:
>I tried cursoradapter on my forms dataenv. I changed 'T' characters with 'D' for display 'datetime' fields to 'date' but it didn't occurs.
>
>problem 2:
>i want to my cursoradapter with no data in first time. but nodataonload property doesn't exist on cursoradapter. so I tried put invalid key to where's parameter for no data but i couldn't success.
>
>thisform.xsicilno="jfksdjlfksd"
>
>in cursoradapter :
>
>select sicil.* from sicil where sicilno=?thisform.xsicilno
Mark McCasland
Midlothian, TX USA