Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Connection is busy
Message
From
13/11/2002 10:53:11
Jason Mesches
Ocean Systems Engineering Corporation
Carlsbad, California, United States
 
 
To
13/11/2002 10:11:32
Victor Verheij
International Film Festival Rotterdam
Rotterdam, Netherlands
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00722128
Message ID:
00722160
Views:
13
In addition to Yuri's suggestion, you can also try these settings on your views:

FetchAsNeeded = .F.
FetchSize = -1
MaxRecords = -1

These will force the view to retrieve all records before moving on to the next statement in your code. You could do the same by issuing a RECCOUNT()/GO BOTTOM or anything that forces the record pointer to traverse the record set completely, but IMO these settings do the job in a cleaner manner.

When we were struggling with these issues earlier this year, I stumbled upon a fantastic white paper-esque website with exhaustive research (including time trials) on these properties and how they interact. Unfortunately, I didn't bookmark it. >:( If I find it again, I'll send it to you.

Hope that helps,
---J

>Hello
>
>I' trying to insert some data into a remote view.
>
>this is the way i go about it. This code is in an onclick event
>
>use testdata!my_remote_view alias remote
>* wait window 'wait a bit'
>insert into remote (cols) values (values)
>
>This only works WITH the wait window command
>otherwise I get an "connection remote_01 is busy" error.
>
>Can anyone tell me what's going on here?
>
>tia
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform