If DocName is not empty the specified document will be opened. If DocName is empty then a dialog will display with all documents.
DFW Action(s): Document Open -- Enter: Document Name
8.5.0.1888 extended to include extra argument with keyword "DT" to open Document in Design Time (Developer Only).
8.5.0.2067 extended to include extra argument with keyword "SYS" to open frm document (system form). It can take frm file name that will load the form from the program catalog, full path that can load an frm form anywhere on your computer and a filter that is added as a query string at the end prefixed by a /?. Ex. DocumentOpen(StringEscape("my\full\path\USERFORM.FRM/?Name=/'me/'"),"SYS")
8.6.0.2937 Filter added so you can open a document with preset filter. ex. DocumentOpen("Customers/?CustomerName=/'A*/'") will open Customers with the filter set to list all customers with customername starting with an A.
8.6.0.3226 Opening Table is added.
9.0 Onwards DocumentOpen with extra parameters added. At the moment it supports: DocumentOpen("DocName","window"), DocumentOpen("DocName","nooutput") (only without list records when using data-entry in this commit), DocumentOpen("DocName","export","filename") (only without data-entry in this commit), DocumentOpen("DocName","printer","printer 1..4 or the actual name or nothing for default printer") and DocumentOpen("DocName","pdf","filename").
DocumentOpen(name,"PDF", file). DocumentOpen(name, "preview") added. DocumentOpen(name, "printer", printername) now printer name can be "Application printer 1-4" or the name of the printer. Blank is default printer.
DE: added DocumentOpen("DQLName", "EMail", "pdfname.pdf", "EmailTo", "Subject" , "Body") will generate a pdf from the dql en send it using the emailsettings in ini file.
Prism: StringFind now supports extra paramters and not just 2.
DEOS("@emailsend" ... now supports attachments and you can skip from and it will use settings in ini.
Generating pdf, preview and email has a waiting function to make sure the pdf is generated before continue. It will time out after 5 seconds if pdf not generated properly.
SetCurrent("cutepdffilename","filename") extended to add app path if filename do not have : in position 2 of filename.
DocName: String
Mode: String -- "DT" Open in DesignTime.
Mode: String -- "SYS" Open system form
Mode: String -- "Table" -- Open Table in Form View
Mode: String -- "TableList" -- Open Table in List View.
Product: . Written by Jeyarajah Arulrajah 07/11/15 at 21:50:30
Product: Dataease [{8}]FIVE. Written by DataEase 08/11/15 at 12:48:55
Product: Dataease [{8}]FIVE. Written by Jeyarajah Arulrajah 08/11/15 at 15:35:04
Product: Dataease [{8}]FIVE. Written by Peter Birney, PB Associates 12/07/19 at 17:55:46
Product: Dataease [{8}]FIVE. Written by DataEase 30/09/19 at 16:09:46
Product: DataEase 9 Developer. Written by Paul Cheeseman 17/02/23 at 13:21:53
Product: Dataease 9 Developer. Written by Paul Cheeseman 03/03/23 at 14:19:34
Product: Dataease 9 Developer. Written by DataEase 03/03/23 at 15:39:22
Product: Dataease 9 Developer. Written by Paul Cheeseman 03/03/23 at 15:45:31
Product: Dataease 9 Developer. Written by Paul Cheeseman 10/03/23 at 12:18:15
Product: Dataease 9 Developer. Written by DataEase 10/03/23 at 16:14:39