Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CCursor.OpenTable()
Message
From
29/12/1999 15:59:00
 
 
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00310015
Message ID:
00310092
Views:
20
>>>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)	&& Don't reload aliases
>>>		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'
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform