Suneido

Integrated Application Platform

  • Home
  • Learning
    • Suneido Manual
    • Beginners
      • Inside Suneido
      • The Suneido Programming Language
      • The Suneido Database
      • Installing Suneido
      • Building Suneido
      • IDE Go To Tour
      • Upgrading To A New Release
    • Advanced
      • Canvas Control
      • DrawControl Part 1
      • DrawControl Part 2
      • DrawControl Part 3
      • SAX Like XML Processing
      • A Plug-In Architecture
      • A Simple Wizard Framework
      • An HTML Include Facility
      • An RSS 2 Feed Creator
      • MIME Generation
      • A New Add-on Facility
      • Workspace Improvement Hack
    • Mockito for Suneido
    • The Suneido Task Scheduler
    • Contributing To Suneido
    • Contributor Assignment of Copyright
    • Language Translation
    • Future Directions
    • Interview With Andrew Mckinlay
  • Forum
    • Announcements
    • Internals & Enhancements
    • Cookbook
    • General
  • FAQ
  • Screenshots
  • Downloads
  • Links

Printing a report from within an access

Integrated Application Platform › Forums › General › Printing a report from within an access

  • This topic has 1 reply, 2 voices, and was last updated 11 years, 2 months ago by j_ferguson.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • November 22, 2011 at 2:38 pm #720
    Anonymous
    Inactive

    Hello, I have an access screen that once its completed, I want to push a button and print a report using that information. I tried to call the report routine using _onbutton method. I have looked through the manual and forum but didnt find any help. Also, This access has a lot of checkboxes on it, I would like to have them initially set to true. I have tried to use the set parameter in the field def but its not working for me.

    Here is a sample of the field def:
    Field_string
    {
    Prompt: ‘Tie Downs’
    Control: (CheckBox size: 16 set: true)
    Format: (Boolean size: 16 strings: #(‘OK’, ‘NA’) width: 19)
    }

    Thanks and hope everyone has a great Thanksgiving
    Benny

    November 23, 2011 at 3:09 pm #905
    j_ferguson
    Moderator

    There are lots of examples of printing from a button in the sample Accounting application that is available to download at http://www.suneido.com/support/downloads

    I would suggest looking at the receivables invoices screen.

    I don’t think the set option was designed to be used in a RecordControl. RecordControl will always set the controls values from what is in the record. If you want a checkbox field to default to true (checked), I would suggest using a rule:

    The library record name would be something like: Rule_checkboxfieldnamehere, and the code will be:

    function ()
    {
    return true
    }

  • Author
    Posts
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
Log In

Search Forums

Log In
Welcome to the new Suneido Web Site and Forum.
Register
Lost Password
users of the previous PHPBB Forum should be able to log in with their previous username and password.

Recent Topics

  • Alpha copy of gSuneido to play with
  • how to start jsuneido ?
  • Problem Starting Suneido…
  • Dialog not showing buttons
  • New link for Suneidojo

Contact Us | Legal Statement | Privacy Statement | SiteMap

Copyright © 2023 Axon® Development Corporation. All Rights Reserved. - Open Source Integrated Database and Programming Language