Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Set the path of the Cursor?
Message
From
13/03/1998 08:41:21
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00083836
Message ID:
00084404
Views:
31
>>>Ed,
>
>I worked on this yesterday, it seem to work, however, after the
>pageframe would close and return to menu form, the line of code in before open
>table would show up on screen and nothing I did would make it stop displaying
>on screen.
>
>I also had trouble getting correct syntax for this, could you give me an example?
>
>How can I hide this? I recall reading in an earlier posting that when using free tables that you don't necessarily need to use cursors or dbcs, would I be better off to stop using these?
>
>vfp 3.0 in win 95

*** DE.BeforeOpenTables event
local cDatadir
select config && configuration table (open at start of App)
cDatadir=alltrim(config.datadir)
thisform.setall("database",cDatadir+"upts.dbc","cursor")
Note: this will work properly if all DE.cursors are dbc-included tables(views). If you use free tables, you should reset Cursor.Cursorsource properties.
Edward Pikman
Independent Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform