>>>Kevin,
>>>
>>>The framework is bombing on the use command. Somewhere a very funky statement is being built. The results of This.cursorsource seem to have brackets around it. This is happening with tables, not views.
>>>
>>> *-------------------------
>>> *--- Build the USE command
>>> *-------------------------
>>> IF NOT USED(This.Alias)
>>> lcAlias = IIF(EMPTY(This.Alias),'',' ALIAS ' + This.Alias)
>>> lcNoData = IIF(This.NoDataOnLoad, ' NODATA', '')
>>> lcExclusive = IIF(This.Exclusive,' EXCLUSIVE', ' SHARED')
>>>
>>> lcUseCmd = 'USE ' + This.CursorSource + lcAlias + ;
>>> lcNoData + lcExclusive + ' IN 0'
>>>
>>> &lcUseCmd
>>>
>>> ENDIF
>>>
>>
>>Kevin,
>>
>>Now this.cursorsource returns ..\h.dbf. I tried opening the dataenvironment class and removing the brackets. For some reason extra brackets were being created.
>
>Having a cursor named a single letter A-J can and will cause problems. VFP will confuse it with the original dBase first 10 work areas.
My cursor is called 'errorcodes'