Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Update from field repository problem
Message
De
24/01/2001 11:28:04
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Stonefield
Titre:
Update from field repository problem
Divers
Thread ID:
00467914
Message ID:
00467914
Vues:
58
When I add a field to an existing table from the field respository, about 80% of the time I get the following upon clicking the save button. (rest of the time the routine works without error)


CALL STACK
basemgr.validate
sdtdbcxmgr.ovfemanager.validate
sdtdbcxmgr.validate
frmtd.cmok.click


CODE IN TRACE WINDOW
* Validate all the fields for the table.
if 'F' $ This.cObjectTypesHandled
for lnI = 1 to fcount(lcAlias)
lcField = field(lnI, lcAlias) &&**** Error occurs on this line*****
.EnsureOneObject(lcParent + '.' + lcField, 'Field', ;
lcDBC)
.ValidateField(lcParent, lcAlias, lcField, llFree)
next lnI
endif 'F' $ This.cObjectTypesHandled


MEMORY
lnI - always has the value 2
lcAlias - has the name of the cursor being udpated, e.g. CurrentAudit

Problem seems to be that the cursor referred to by lcAlias has been closed.
I go to the command window and issue the commands

SELECT 0
USE CurrentAudit

then I resume the program and it completes successfully.

Any ideas why I am getting this error?
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform