Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Mere mortals problem 6.0a
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Titre:
Mere mortals problem 6.0a
Divers
Thread ID:
00273239
Message ID:
00273239
Vues:
48
Kevin,
I have two different dataenvironments that have one table in common.
The first dataenviroment will open the table.
The second dataenvironment also tries to open the table but does
not realize the table has already been opened it gives the error
'file already in use'
It does not know the table is opened already because too many quotes are stored in the property this.alias ("'openedtable'").

I changed the following mm code to fix this problem
Cdataenv.vcx
Ccursor.opentables

************************
*10/1/99 added dg
IF "'" $ this.alias
this.alias = chrtran(this.alias,"'",'')
endif
************************
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

Thanks
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform