Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CCursor.OpenTable()
Message
From
30/12/1999 08:50:02
 
 
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00310015
Message ID:
00310310
Views:
28
>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
>
I think I have an idea of what's going on here. When a dataenvironment is first created everything is fine. If the dataenvironment is edited, the cursor objects get corrupted somehow. If I remove all the cursor objects and re-add them, everything runs fine again. I havn't had time to trace what's going because of pending deadlines, but this is a good heads up to find the problem.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform