>Hi Carlos,I believe, you can find the source code for >CursorAdapter/DataEnvironment builder in ...\Microsoft Visual FoxPro >\Tools\xsource\xsource.zip .However, setting CursorSchema in >AfterCursorFill event is too late because it is called after CursorFill has >been executed.Thanks,Aleksey.
Hi Aleksey
I was checking out the cursor adapter builder project. In the save method of selectproperties class I found this:
* Ensure CursorSchema is < 256 characters.
local llReturn
llReturn = len(Thisform.oCursor.CursorSchema) < 256
if not llReturn
messagebox(ccMSG_CURSORSCHEMA_TOO_LONG, MB_OK + MB_ICONSTOP, ;
Thisform.Caption)
endif not llReturn
return llReturn
Do you know what is the reason of that? I was checking out the methods to adquiere the cursoradapter schema and I din´t find a logical reason to do that.
Thank you
Carlos
Carlos
Carlos A. Miranda
E.I.S.lnc
President