Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Grid errors because underlying base tables are open
Message
De
29/01/1999 16:32:03
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00181972
Message ID:
00182039
Vues:
15
>Thanks Ed. Here is the 'other' problem. I never know in advance what the cursor name happens to be, because it generated with the following function:
>
>xcursor=fxcursname()
>
>FUNCTION fxcursname
> LOCAL ycursor
> ycursor='X'+SUBSTR(sys(2015,4,10)
> RETURN ycursor
>
>The reasoning is that you should be able to open multiple copies in a form with each one having it's own data set.
>
>It seems like it would work if I knew the cursor name in advance, but when it is stored in the variable, I can't get the code to recognize it.
>Any more thoughts?

You may call:
cAlias=cMycursoralias
thisform.grid.recordsource=cAlias
thisform.grid.refresh
Edward Pikman
Independent Consultant
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform