Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
LOCAL ldDate
ldDate = DTOC(DATE())
oWord = CREATEOBJECT("word.application")
loDocument=oWord.Documents.ADD()
CREATE CURSOR myCursor (name c(20),address c(30))
INSERT INTO myCursor (name,address) VALUES ("Mike","123")
GO top
WITH oWord
loSelection = oWord.SELECTION
loSelection.PageSetup.TopMargin = 30
loSelection.PageSetup.RightMargin=50
loSelection.PageSetup.LeftMargin=50
loSelection.typeparagraph
loSelection.typeparagraph
loSelection.typeparagraph
loSelection.PageSetup.BottomMargin = 30
loSelection.FONT.SIZE = 12
loSelection.FONT.NAME = "times"
loSelection.TypeText(ALLTRIM(ldDate))
loSelection.typeparagraph
loSelection.typeparagraph
loSelection.Font.Bold = .T.
loSelection.TypeText(ALLTRIM(PROPER(myCursor.name)))
loSelection.typeparagraph
loSelection.FONT.SIZE = 10
loSelection.FONT.NAME = "times"
loSelection.Font.Bold = .F.
loSelection.TypeText(ALLTRIM(myCursor.address))
ENDWITH
oWord.visible = .t.