opensheet

The opensheet statement opens the data sheet window for the current database in a new window.


Parameters

No parameters.


Description

This statement opens the data sheet. If the data sheet is already open, it is simply brought to the front.

By default, the new window will take up most of the screen, covering all of the other windows. To specify the size and location of the new window in advance, use the setwindowrectangle, setwindow, or windowbox statements.

The procedure below opens the data sheet in a 4 inch by 6 inch window centered on the main screen.

local newWindowRect
newWindowRect=rectanglecenter(info("screenrectangle"),rectanglesize(1,1,4*72,6*72))
setwindowrectangle newWindowRect,""
opensheet

This example opens the data sheet for the Price List database. This procedure will work from any database, even if the *Price List *database doesn’t have any windows open.

window "Price List:Secret"
opensheet

See Also


History

VersionStatusNotes
10.0No ChangeCarried over from Panorama 6.0.