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

Re: Re: ExpandControl Refresh

Integrated Application Platform › Forums › General › ExpandControl Refresh › Re: Re: ExpandControl Refresh

June 26, 2013 at 5:15 pm #1007
ajith
Participant

Hello,
Thanks for the reply!

The code for is Field_sT_ExitTicker. This is the field in the Access based on whose value I want the fields inside the Expand to change

Field_string
{
Prompt: "Ticker"
Control: (Key '((StkEnTrades project sT_Ticker) rename sT_Ticker to ticker) join StkMain' 'ticker' mandatory:true width: 12.8 fillin: (sT_StockName) from: (stockname) )
}

One of the fields inside the Expand whose value is calcualted based on the value of Field_sT_ExitTicker is calculated using the Rule_sT_EnTradeNum

function()
{
rec = false
try rec = QueryFirst(("StkEnTrades where ( sT_Ticker = " $ Display(.sT_ExitTicker) $ " and sT_Type = " $ Display(.sT_Type) $ " ) sort sT_EntryDate"))
if Record?(rec)
return rec.sT_TradeNum
else
return false
}

Is the reason for the field not notifying the Access’s Record Control any error in my code? Could the reason be just that it is a calculated field?

Thanks in advance,
ajith

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