Hello, I have the following problem I become a cursor a recordset using a method, it does well; but the fields of the concepts or long this short to 254 characters
here is the code
parameters calias,lorst
if used(calias)
select (calias)
use
endif
talias="CA"+sys(2015)
try
ocursoradapter = createobject("CursorAdapter")
ocursoradapter.alias=talias
ocursoradapter.allowdelete = .t.
ocursoradapter.allowinsert = .t.
ocursoradapter.allowupdate = .t.
ocursoradapter.datasourcetype="ADO"
ocursoradapter.cursorfill(,,,lorst)
ocursoradapter.cursordetach()
catch to loerror
messagebox(loerror.message)
endtry
select * from (talias) into cursor (calias) readwrite
select (talias)
use
Jose Manuel Ramirez