4D View Language Reference Manual

Total Page:16

File Type:pdf, Size:1020Kb

4D View Language Reference Manual 4D View® ______________________________________________________________________________________________________________________________________ Language Reference Windows® / Mac OS® 4D View® © 2002-2007 4D SAS / 4D Inc. All rights reserved. __________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ 4D View - Language Reference Version 2004.6 for Windows® and Mac OS® Copyright © 2002-2007 4D SAS/4D, Inc. All rights reserved. ____________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ The Software described in this manual is governed by the grant of license in the 4D Product Line License Agreement provided with the Software in this package. The Software, this manual, and all documentation included with the Software are copyrighted and may not be reproduced in whole or in part except for in accordance with the 4D Product Line License Agreement. 4D Write, 4D Draw, 4D View, 4th Dimension, 4D the 4D logo and 4D Server are registered trademarks of 4D, Inc. Microsoft and Windows are registered trademarks of Microsoft Corporation. Apple, Macintosh, Mac OS and QuickTime are trademarks or registered trademarks of Apple Computer, Inc. Mac2Win Software Copyright © 1990-2007, is a product of Altura Software, Inc. This product includes software developed by the Apache Software Foundation (http://www.apache.org/). 4th Dimension includes cryptographic software written by Eric Young ([email protected]) 4th Dimension includes software written by Tim Hudson ([email protected]). ACROBAT © Copyright 1987-2007, Secret Commercial Adobe Systems Inc. All rights reserved. ACROBAT is a registered trademark of Adobe Systems Inc. All other referenced trade names are trademarks or registered trademarks of their respective holders. Contents 1. Introduction.............................. 13 4D View Presentation .......................................................................... 15 Writing conventions.............................................................................16 4D View commands and constants.......................................................17 Using 4D View areas.............................................................................19 Accessing 4D View menu commands....................................................22 Cross-platform document management...............................................23 2. PV Current cell...........................25 PV Current cell, Introduction................................................................ 27 PV GET CURRENT CELL.........................................................................28 PV VALIDATE CURRENT CELL................................................................29 PV GET NEXT FREE CELL.......................................................................30 PV GOTO CELL.....................................................................................32 PV GOTO NEXT CELL........................................................................... 33 PV GET PREVIOUS ACTIVE CELL............................................................34 3. PV Area...................................... 37 PV Area, Introduction........................................................................... 39 PV New offscreen area..........................................................................40 PV DELETE OFFSCREEN AREA................................................................41 PV SET AREA PROPERTY........................................................................42 PV Get area property............................................................................53 PV BLOB TO AREA................................................................................ 54 PV Area to blob.................................................................................... 55 PV ON EVENT.......................................................................................56 PV Get on event method......................................................................60 PV ON COMMAND..............................................................................61 PV Get on command method...............................................................63 PV ON ERROR...................................................................................... 64 PV Get on error method.......................................................................66 PV GET LAST ERROR............................................................................. 67 4D View Language Reference 3 PV EXECUTE COMMAND.....................................................................69 PV SET COMMAND STATUS.................................................................70 PV GET COMMAND STATUS................................................................71 PV REDRAW..........................................................................................72 PV SCROLL AREA..................................................................................73 4. PV Borders................................. 75 PV Borders, Introduction...................................................................... 77 PV SET RANGE BORDER........................................................................78 PV SET BORDER STYLE..........................................................................80 PV GET BORDER STYLE.........................................................................82 5. PV Cell property........................ 85 PV Cell property, Introduction..............................................................87 PV SET CELL PROPERTY........................................................................ 88 PV SET RANGE PROPERTY.....................................................................96 PV Get cell property........................................................................... 104 PV Get range property........................................................................105 PV SET CELL NAME.............................................................................107 PV Get cell name................................................................................109 PV GET CELL NAME LIST.................................................................... 110 6. PV Cell value............................111 PV Cell value, Introduction................................................................. 113 PV Get cell value type.........................................................................114 PV SET CELL STRING VALUE................................................................115 PV Get cell string value.......................................................................117 PV SET CELL TEXT VALUE....................................................................118 PV Get cell text value..........................................................................119 PV SET CELL NUM VALUE...................................................................120 PV Get cell num value........................................................................ 121 PV SET CELL DATE VALUE...................................................................122 4 4D View Language Reference PV Get cell date value.........................................................................123 PV SET CELL TIME VALUE....................................................................124 PV Get cell time value.........................................................................125 PV SET CELL DATE TIME VALUE.......................................................... 126 PV GET CELL DATE TIME VALUE..........................................................127 PV SET CELL BOOLEAN VALUE............................................................128 PV Get cell boolean value...................................................................129 PV SET CELL PICTURE VALUE.............................................................. 130 PV Get cell picture value.....................................................................131 PV SET CELL VARIABLE........................................................................132 PV Get cell variable.............................................................................133 PV SET CELL FIELD..............................................................................134 PV GET CELL FIELD.............................................................................136 PV SET CELL FORMULA.......................................................................138 PV Get cell formula.............................................................................140 PV SET CELL CONTROL...................................................................... 141 PV GET CELL CONTROL..................................................................... 146 PV ARRAY TO CELLS........................................................................... 148 PV CELLS TO ARRAY........................................................................... 150 PV FIELD TO CELLS.............................................................................152 PV FIELDS LIST TO CELLS....................................................................154 PV
Recommended publications
  • 4Th Dimension, MS Access, and Filemaker Pro: a Comparison
    4th Dimension, MS Access, and FileMaker Pro: A Comparrison 4D T E C H N O L O G Y W H I T E P A P E R Many individuals and organizations need database learn the system? How quickly can an experienced user applications. Their needs can range from a simple data- navigate through the application? How much time is base that tracks songs in an MP3 collection all the way needed to maintain and support the system? How use- to a multi-user client/server application that supports ful is the resulting application? When evaluating tools hundreds or even thousands of users as well as millions for designing databases,s, more and more organizations of records. The range of needs is quite broad so no are seeing the need to evaluate all of the attributes of a database is ideal in all circumstances. However,, most database design system as well as the attributes of the database applications fall in the middle range of system resulting database applications. requirements. For instance, most applications have oror will have multiple users. Most handle more than one file This document examines the following products:ts: MS or table of related information. Most manage at least Access,ss, FilFileMaker Pro, and 4th Dimension. Each productct thousands of records. It is this middle ground of appli- has its own strengths and weaknesses. In this docu- cations that are targeted by 4th Dimension, MS Access, ment, we will focus on the ability of these three prod- and FileMaker Pro. ucts to meet the needs of a middle range of system requirements.
    [Show full text]
  • The Archéodata Project
    10 The ArchéoDATA Project Daniel Arroyo-Bishop* 10.1 Introduction The evolution of theory and practice bring to light, in the long run, the limits of systems until then thought of as adequate. In archaeology, the problem of the archaeological archive now stands out, everyday augmented by surveys and excava- tions, generators of great quantities of materials, data and studies that increase the immensityof that already stored. The fundamental problems of conception, creation, management and conservation of the archives, will need in the future to be rethought to guarantee an efficient development of tomorrow's archaeological research. The problem is aggravated if we take into account that the transfer of the knowledge generated is rarely undertaken in a satisfactory manner, being the subject of material, financial and temporal influences. Even in cases where they are effectively published and where specialists can consult them, the latter find themselves faced with a po- tential volume of information that they can neither read nor assimilate. Equally, one of the worst resolved problems in archaeology is reserved to the material recovered from the ground: how to organize its storage and classification, how to facilitate its accessibility and consultation, how to create a larger source of information. The publication of the future must be a research tool in itself, a dynamic doc- ument, comprising a synthesis of the archaeological team's reflections and all the information necessary to allow, in the future, to go from the stratigraphical unit to the comprehensive intra-site or inter-site studies. The volume and the diversity of the data should, through a more rigorous selection and a more efficient management, be a windfall for investigation.
    [Show full text]
  • A History of the Personal Computer Index/11
    A History of the Personal Computer 6100 CPU. See Intersil Index 6501 and 6502 microprocessor. See MOS Legend: Chap.#/Page# of Chap. 6502 BASIC. See Microsoft/Prog. Languages -- Numerals -- 7000 copier. See Xerox/Misc. 3 E-Z Pieces software, 13/20 8000 microprocessors. See 3-Plus-1 software. See Intel/Microprocessors Commodore 8010 “Star” Information 3Com Corporation, 12/15, System. See Xerox/Comp. 12/27, 16/17, 17/18, 17/20 8080 and 8086 BASIC. See 3M company, 17/5, 17/22 Microsoft/Prog. Languages 3P+S board. See Processor 8514/A standard, 20/6 Technology 9700 laser printing system. 4K BASIC. See Microsoft/Prog. See Xerox/Misc. Languages 16032 and 32032 micro/p. See 4th Dimension. See ACI National Semiconductor 8/16 magazine, 18/5 65802 and 65816 micro/p. See 8/16-Central, 18/5 Western Design Center 8K BASIC. See Microsoft/Prog. 68000 series of micro/p. See Languages Motorola 20SC hard drive. See Apple 80000 series of micro/p. See Computer/Accessories Intel/Microprocessors 64 computer. See Commodore 88000 micro/p. See Motorola 80 Microcomputing magazine, 18/4 --A-- 80-103A modem. See Hayes A Programming lang. See APL 86-DOS. See Seattle Computer A+ magazine, 18/5 128EX/2 computer. See Video A.P.P.L.E. (Apple Pugetsound Technology Program Library Exchange) 386i personal computer. See user group, 18/4, 19/17 Sun Microsystems Call-A.P.P.L.E. magazine, 432 microprocessor. See 18/4 Intel/Microprocessors A2-Central newsletter, 18/5 603/4 Electronic Multiplier. Abacus magazine, 18/8 See IBM/Computer (mainframe) ABC (Atanasoff-Berry 660 computer.
    [Show full text]
  • Database Specialist Ii
    KERN COUNTY SUPERINTENDENT OF SCHOOLS REVISIED/APPROVED NOVEMBER 2006 RANGE: 55.0 CLASSIFIED CODE: NONE DATABASE SPECIALIST II DEFINITION Under general supervision, provide database development and database support to Kern County Superintendent of Schools Office employees and school district employees. Conduct database needs assessments, modify existing databases, assist with development of new databases, and/or assist with migration of existing systems to integrated relational database systems. The Database Specialist II will also make modifications to existing database systems in support of report generation for users. The Database Specialist II will provide technical assistance and training to end users on new systems; provide technical assistance; provide troubleshooting diagnostics, and provide user support in person or via telephone and electronic messaging. EXAMPLES OF DUTIES Under general supervision the Database Specialist II may be responsible for database system analysis and design; database development and programming to support user reporting and information resource storage; graphical user interface design; identifying and correcting database system problems; installation of new or replacement database systems and maintenance of system integrity; evaluation and modification of existing database applications; verification of correct system operation; ensuring compliance with office database development standards; providing review and consultation on database software products to make and support recommendations to internal departments and client districts; conducting inservice programs and classes for management and clerical personnel on database applications; working cooperatively with user support specialists, help desk operators, and network engineers to ensure effective operation of database systems; attending training sessions to learn database applications, management systems, and operating environments; performing other general database support duties as assigned.
    [Show full text]
  • Conversion to 4D 2004
    CONVERSION TO 4D 2004 By 4D, Inc./4D S.A. TN 06-28 Foreword..........................................................................................................................................2 Help with Migration to 4D 2004 3 1 - Conversion..................................................................................................................................3 Overview 3 Before you begin 4 Required elements and tools to be used for conversions 4 Handling of Externals and Plug-ins4 Plug-ins for versions 3.5 to 2003 5 Conversion of very early versions (versions 2 and 3) 6 2 – Steps to follow ............................................................................................................................8 Handling possible data problems revealed by the conversion 8 3 – 4D 2004..................................................................................................................................... 12 Structure and data files: “resource fork” and “data fork” separation 12 New architecture and operating system 13 Compatibility of plug-in formats 13 New folders 13 New location of Preferences folder 14 New plug-in architecture 14 New locations 14 New folder for plug-ins 15 Downloading plug-ins in client/server mode 15 Loading priority 16 Activation of licenses 16 4 – Converted databases: compatibilities..................................................................................... 17 Structure compatibilities 17 Web compatibilities 18 Menu bars18 Platform (Preferences and Form) 19 Size of form window
    [Show full text]
  • 4Th Dimension User Reference Windows®/Mac™OS
    4th Dimension User Reference Windows®/Mac™OS 4th Dimension® © 1985 - 2003 4D SA. All Rights Reserved. 4th Dimension User Reference Mac™OS and Windows® Versions Copyright© 1985 - 2003 4D SA / 4D, Inc. All rights reserved. The software described in this manual is governed by the grant of license provided in this package. The soft- ware and the manual are copyrighted and may not be reproduced in whole or in part except for the personal licensee’s use and solely in accordance with the contractual terms. This includes copying the electronic media, archiving, or using the software in any manner other than that provided for in the Software license Agreement. 4th Dimension, 4D, the 4D logo, 4D Server, 4D Runtime, 4D Compiler, 4D Backup, 4D View, 4D Write, 4D Draw, 4D, and the 4D logo are registered trademarks of 4D SA. Microsoft and Windows are registered trademarks of Microsoft Corporation. Apple, Macintosh, Power Macintosh, Laser Writer, Image Writer, and QuickTime are trademarks or registered trademarks of Apple Computer Inc. Mac2Win Software Copyright © 1990-2003 is a product from Altura Software, Inc. 4th Dimension includes cryptographic software written by Eric Young ([email protected]) 4th Dimension includes software written by Tim Hudson ([email protected]). All other referenced trade names are trademarks, registered trademarks, or copyrights of their respective holders. IMPORTANT LICENSE INFORMATION Use of this software is subject to its license agreement included with the software. Please read the License Agreement carefully before using the software. Contents Preface . .11 About the Manuals . 11 About This Manual . 12 Windows/Mac™OS versions .
    [Show full text]
  • Mineral Resources Data System Using 4Th DIMENSION
    U.S. DEPARTMENT OF THE INTERIOR U.S. GEOLOGICAL SURVEY Mineral Resources Data System using 4th DIMENSION by Hal Sindler, Paul Schruben, and Carl A. Carlson Open-File Report OF 95-616 This report is preliminary and has not been reviewed for conformity with the U.S. Geological Survey editorial standards. An\ use of trade names is for descriptive purposes only and does not imply endorsement by the U.S. Geological Survey. Although this program has been used b\ the U.S. Geological Survey, no warranty, expressed or implied, is made b\ the USGS as to the accuracy and functioning of the program and related program material, nor shall the fact of distribution constitute any such warranty, and no responsibility is assumed by the USGS in connection therewith. Menlo Park, California June 30, 1995 Table of Contents Introduction..................................................................................................................! Software Configuration..............................................................................................! MRDS -4D Application..............................................................................................2 Hardware Configuration............................................................................................5 Launching MRDS - 4D................................................................................................6 Typical Session.............................................................................................................8 The Mineral Site File ..................................................................................................12
    [Show full text]
  • Database Structures for Mathematical Programming Models Robert Fourer
    Database Structures for Mathematical Programming Models Robert Fourer Department of Industrial Engineering and Management Sciences, Northwestern University, Evanston, IL 60208-3119, U.S.A. Abstract. In both the design and use of large-scale mathematical programming systems, a substantial portion of the effort has no direct relation to the variables and constraints, but is instead concerned with the description, manipulation and display of data. Established principles of database design do not apply directly to mathematical programming, however, because there are significant differences of organization and content between the data for an optimization model and the data for a conventional database application such as payroll or order entry. This paper derives fundamental principles of database construction for large- scale mathematical programming, by use of a steel mill planning model as an exam- ple. Alternative formulations for the model—which incorporate aspects of produc- tion and network linear programming—are presented at the outset, and are shown to correspond to relational and hierarchical database schemes that have contrasting strengths and weaknesses. A particular implementation of the steel optimization package is then presented as an illustration. A concluding section puts this work into perspective, by surveying and categorizing a variety of approaches for providing data management features in mathematical programming applications. The views of data offered by this paper’s approach are seen to differ substantially from the views offered by traditional mathematical programming systems, and certain “in- termediate” strategies for integration of database and mathematical programming software are identified as having particular promise for future work. Published version: Decision Support Systems 20 (1997) 317–344.
    [Show full text]
  • Database Specialist I
    KERN COUNTY SUPERINTENDENT OF SCHOOLS REVISED/APPROVED NOVEMBER 2006 RANGE: 50.0 CLASSIFIED CODE: 4 DATABASE SPECIALIST I DEFINITION Under general supervision, will provide database development and database support to Kern County Superintendent of Schools Office employees and school district employees. Conduct database needs assessments, modify existing databases, assist with development of new databases, and/or assist with migration of existing systems to integrated relational database systems. The Database Specialist I will also make modifications to existing database systems in support of report generation for users. The Database Specialist I will provide technical assistance and training to end users on new systems; provide technical assistance; provide troubleshooting diagnostics, and provide user support in person or via telephone and electronic messaging. EXAMPLES OF DUTIES Under direction, the Database Specialist I will be responsible for a number of the following activities: database system analysis and design, database development and programming; maintenance of office database design standards; graphical user interface design for users; troubleshooting database system problems; installation of new or replacement database systems and maintaining system integrity; evaluate existing database applications and modify them as assigned; test new versions of databases for functionality and applicability to current users; verify correct system operation; diagnose database malfunctions to separate operator, hardware, and software problems;
    [Show full text]
  • WWDC 1990: Advanced CL/1 Tips and Techniques
    ® Lance S. Hoffman N&C Product Marketing CL/1 Product Manager ® Advanced CL/1 Tips and Techniques CL/1 Update and Direction Beginning this fall..... Will be known as ..... Data Access Language Data Access Language Macintosh II A standard connectivity language that links desktop applications to host data Client-Server Architecture Host System Macintosh DBMS DAL Client DAL Server Application API DBMS Databases Physical Network All Components Shipping from APDA Developer's Toolkit for the Macintosh $695.00 (Single use license) All Components Shipping from APDA Server for VAX/VMS: $5000.00 All Components Shipping from APDA Server for VM/CMS: $15,000 Server for MVS/TSO: $20,000 DEC LanWorks Product • DAL Client software • DAL Server for VAX/VMS (Rdb only) • APDA will offer other DB adapters Supported Databases INGRES INFORMIX SYBASE Rdb ORACLE DB2 SQL/DS Development Tools • HyperCard • C • Pascal • 4th Dimension • Omnis 5 Spreadsheets • Informix: Wingz • Microsoft: Excel • Ashton-Tate: Full Impact Query Tools • Andyne Computing Ltd.: GQL • Claris: Claris Query Tool • Fairfield Software: ClearAccess Mapping Products • Odesta: GeoQuery • Tactics International: Tactician Expert Systems • Millenium Software: HyperX • Neuron Data: Nexpert Object IBM Communicatons • Avatar: MacMainframe • DCA: MacIRMA • TriData: Netway 1000/2000 DBMS Adapters Network Adapters DB2 SQL/DS 3270 DAL Informix Core Ingres ADSP Server Oracle Rdb Async Sybase OS Adapter for VMS OS Adapter for VM/CMS OS Adapter for MVS/TSO OS Adapter for A/UX ® Jim Groff Network Innovations Corp. President ® CL/1 Advanced Tips and Techniques Six “One-Minute” Tips Six “One-Minute” Tips for CL/1 • DBMS brand profiles • Transaction management • SELECT modes • Output control • Opening and closing tables • DBMS non-uniformities DBMS Brand Profiles • Obtain via DESCRIBE statements • Profiles describe: – Available DBMS brands – Security at DBMS and database level – Database structure – Available databases – Required OPEN parameters • Use to customize dialogs and menus Transaction Management SELECT ..
    [Show full text]
  • 4D V11 SQL R4
    4D v11 SQL ______________________________________________________________________________________________________________________________________ SQL Reference Windows® / Mac OS® 4D® © 4D SAS / 4D Inc. 1995-2009. All rights reserved. __________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ 4D v11 SQL - SQL Reference Release 4 (11.4) for Windows® and Mac OS® Copyright © 4D SAS/4D, Inc. 1985-2009 All rights reserved. ____________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ The Software described in this manual is governed by the grant of license in the 4D Product Line License Agreement provided with the Software in this package. The Software, this manual, and all documentation included with the Software are copyrighted and may not be reproduced in whole or in part except for in accordance with the 4D Product Line License Agreement. 4th Dimension, 4D, the 4D logo, 4D Developer, 4D Server are registered trademarks of 4D, Inc. Microsoft and Windows are registered trademarks of Microsoft Corporation. Apple, Macintosh, Mac OS and QuickTime are trademarks or registered trademarks of Apple Computer, Inc. Mac2Win Software
    [Show full text]
  • 4Th Dimension Design Reference Windows®/Mac™OS
    4th Dimension Design Reference Windows®/Mac™OS 4th Dimension® © 1985 - 2003 4D SA / 4D, Inc. All Rights Reserved. 4th Dimension Design Reference For Mac™OS and Windows® Copyright© 1985 - 2003 4D SA / 4D, Inc. All rights reserved. The software described in this manual is governed by the grant of license provided in this package. The soft- ware and the manual are copyrighted and may not be reproduced in whole or in part except for the personal licensee’s use and solely in accordance with the contractual terms. This includes copying the electronic media, archiving, or using the software in any manner other than that provided for in the Software license Agreement. 4D, 4D Draw, 4D Write, 4D View, 4D Insider, 4th Dimension®, 4D Server, 4D Compiler, 4D Backup and the 4th Dimension and 4D logos are registered trademarks of 4D SA. Microsoft and Windows are registered trademarks of Microsoft Corporation. Apple, Macintosh, Power Macintosh, Laser Writer, Image Writer, and QuickTime are trademarks or registered trademarks of Apple Computer Inc. Mac2Win Software Copyright © 1990-2003 is a product of Altura Software, Inc. ACROBAT © Copyright 1987-2003, Secret Commercial Adobe Systems Inc. All rights reserved. ACROBAT is a registered trademark of Adobe Systems Inc. This product includes software developed by the Apache Software Foundation (http://www.apache.org/). 4th Dimension includes cryptographic software written by Eric Young ([email protected]) 4th Dimension includes software written by Tim Hudson ([email protected]). Oracle is a registered Trademark of Oracle Corporation, Redwood Shores, California. Oracle Corporation and 4D are independent companies. Use of the Trademark “Oracle” authorized by Oracle Corporation autho- rized to highlight interoperability only.
    [Show full text]