Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Dynamic parameter with cursoradapter
Message
De
24/03/2005 00:56:41
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Titre:
Dynamic parameter with cursoradapter
Versions des environnements
Visual FoxPro:
VFP 8
OS:
Windows XP
Network:
Windows 2000 Server
Database:
MS SQL Server
Divers
Thread ID:
00998757
Message ID:
00998757
Vues:
45
Hi all

I am using a "dynamic" parameter with my cursoradapter. I'm using the CA in a form like this:
thisform.Addproperty('loFilemgmt')
thisform.loFilemgmt=NEWOBJ('cafilemgmt','ca_pwmisc','',lcWhere)
thisform.loFilemgmt.Cursorfill(.T.)
where lcWhere is "WHERE water=1 AND parks=1" or something like that.

Normally (when I don't require a dynamic parameter), I put this code in the form Load and everything is fine. The problem is that I think I have to create the CA with NEWOBJ in order to use my dynamic parameter which means reloading the CA with Cursorfill(). When I do this, I lose all my grid Controlsources. Is there a way to use CursorRefresh() with a dynamic paramter?

thanks

bonnie
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform