Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Accessing Table
Message
De
12/09/1997 10:23:41
Edward Crawford
City Facilities Management
Glasgow, Royaume Uni
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00049670
Message ID:
00049836
Vues:
64
>>I am getting an error message that says
>>
>>"Cannot access selected table. Error: 1152". When I look at the help for this error is says:
>>
>>"You have attempted to select a table outside the 32K work area range or are attempting to reference a file variable in a table that is not open."
>>
>>When I try to trace through this I will get this error while I am just sitting there. I am not trying to reference anything. So I must assume that I am exceeding the 32K work area. What is that, and how do I fix it?
>>
>>Ed
>
>Ed, run a search on "1152" and you'll find several threads about this. Below I've copied from a thread (Dave Johns, Luis Guzman, possibly others I've missed) for non-PUTM who can't search the past threads
>
>>usually occurs when you have accidentally closed a table or are in a workspace that doesn't have an open table in it. i had this when i created a cursor to check something and forgot to switch back to the table i was working in before trying to save updates...
>
> Thanks Dave, you are right, I was using a combo list box populated
> with an SQL-Statement, as soon as you do that Fox creates a link
> between the cursor and the combo list box, if for any reason
> you close the cursor it gives you that error, in my case, I was
> executing again the SQL statement and sending the results to the
> same cursor, and that was closing it, breaking the link between
> the combo and the table. That can happend also with a popup.
> =THIS.thanks("a lot")
>
>
>HTH
>Barbara

Thanks Barbara, I'll do a search.

Ed
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform