Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Update from field repository problem
Message
From
25/01/2001 10:51:33
 
 
To
24/01/2001 11:28:04
General information
Forum:
Visual FoxPro
Category:
Stonefield
Miscellaneous
Thread ID:
00467914
Message ID:
00468476
Views:
35
Hi Steve.

>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

This one is a mystery. I could see if somehow the table got closed before this routine was called, but since lnI is 2, that means it made it through the loop once, so the table must've been closed inside the loop. However, neither EnsureOneObject nor ValidateField close anything. I suggest putting a SET STEP ON just before the FOR statement, then trace and see where the table is getting closed. Let me know what you find.

Doug
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform