Ciao Michele,
In my understanding, .cursorSchema allows the cursor adapter to automatically map the fields from a remote database to VFP fields. This way you can switch the cursorAdapter from dbf data to SQL data with the same cursor structure exposed to your application (hence the name 'cursorAdapter').
You can take advantage of the cCursorSchema() function provided by the FoxInCloud public layer:
_cliptext = cCursorSchema('alias')
>>>I have to create a cursoradapter object at runtime...i can set without problems the "selectcmd" property, but spmeone can suggest me how to populate CursorSchema property......I am working with postgresql as backend..
>>>
>>>Thanks
>>
>>If you know the fields you select you should know their types too.
>>What is the problem with CursorSchema?
>
>Yes, i know the fields but i don't know their characteristics...i exactly don't know the type or the length, all info that i need to write in cursorschema...
Thierry Nivelet
FoxinCloud
Give your VFP application a second life, web-based, in YOUR cloud
http://foxincloud.com/Never explain, never complain (Queen Elizabeth II)