Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CCursor.OpenTable()
Message
De
30/12/1999 08:50:02
 
 
À
29/12/1999 14:18:36
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00310015
Message ID:
00310310
Vues:
27
>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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform