Koen Piller
Programmer
Hi,
I havve create with
a fairly simple cursor. Now I need to update that file and I encounter the errormessage 111 and indeed
Stay healthy,
Koen
I havve create with
Code:
m.lcCursor = 'curRit'
Select Permission
liPermission = Permission.Id
lcWhere = 'WHERE Permission.ID =' + Transform(m.liPermission)
Set Textmerge On
TEXT TO m.lcSQL NOSHOW TEXTMERGE PRETEXT 1+2+4+8
SELECT ;
Rit.ID as Rit_ID , ;
Rit.*, ;
Permission.ID, ;
Docter.*, ;
Locatie.Latlan, ;
DocterBridgeLocation.ID ;
FROM Rit ;
JOIN DocterBridgeLocation ON Rit.iDocterBridgeLocation = DocterBridgeLocation.ID ;
join Locatie on Locatie.ID = DocterBridgeLocation.iLocation ;
join Docter on Docter.ID = DocterBridgeLocation.iDocter ;
JOIN Permission ON Permission.id = Rit.iPermission ;
INTO CURSOR <<LCCURSOR>> NOFILTER <<LCWHERE>>
ENDTEXT
m.lcSql = getSQLText(m.lcSql,'VFP', .T.)
&lcSql
How to solve this?Helpfile said:A cursor created with the SELECT – SQL command is always read-only.
Stay healthy,
Koen