>>>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