>>>>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'
That's good. You could get away with A.DBF, etc., as long as the alias for it is not just A through H, a single letter. Image what would happen if you opened A.DBF in area 3?!? (It gets the alias of 'C', BTW.) So just image the confusion that can create!