Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid errors because underlying base tables are open
Message
From
29/01/1999 16:32:03
 
 
To
29/01/1999 16:27:15
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00181972
Message ID:
00182039
Views:
16
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform