Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
No table is openin current workarea
Message
From
26/05/2001 06:08:33
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00511590
Message ID:
00511778
Views:
18
>>What the heck does that mean ?
>>
>>
*Grid.valid
>>*...
>>	lcRecSource = .recordsource
>>	.recordsource = ""
>>	GO .nLastValidRec in (lcRecSource)
>>	.recordsource = lcRecSource && Error occurs here
>>*...
>>
Absolutely there are more than one tables open and current workarea has the correct table (lcRecsource).
>>TIA
>>Cetin
>
>A random, non-replicable error? I tried your code and it works without error for me. I did change the 3rd line to GO recno(lcRecSource) + 50 in (lcRecSource)
>
>I even stuck a SELECT 0 before the GO line and it still worked.

Mark,
Thanks. I can reproduce it :( I think real error location is actually at somewhere else in code but shows up there I think. With grids to my experience I needn't to select its workarea. But here even it's in current workarea. I have 2 similar classes and both have this exact code portion. The original one doesn't cause this error !!! Anyway I dismissed the causing error and got what I want modifying the original. Thanks again.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform