Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
A Remote View Without DBC..
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Divers
Thread ID:
00216664
Message ID:
00217276
Vues:
19
Tim,

I don't know of a way to make SPT work with fetch as needed. One option is to create views on the fly. You can create a temp .dbc and create the views in code. Another option would be to set your connection for asynchronous use and just start the SQLEXEC() then display the grid while it fetched the rest of the records. You'd get the whole table whether the user scrolled the grid or not, but at least you could show the grid while fetching the rest of the records.

>Thanks...
>
>I thought I saw a tools somewhere ...
>But it has genview it it wasn't exactly what I wanted.
>
>Yes I do do this this way....
>But I want to use the fetch as needed...
>
>SQLEXEC(h,'select * from intcolor')
>cursorsetprop("fetchasneeded",.t.)
>
>I.E.
>When I have a grid it automatically fetches the next few records as I scroll down..
>
>However Problems being...
>1)I need to set this property only on some tables....
>2)I need to make the cursor first then set this property...
> By then it's too late I already downloaded the whole table...
>
>Any suggestions...
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform