Precisely Speaking
May 18, 2012, 02:59:43 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: So what's news with you?  Tell us about it in "Getting To Know You"!
 
   Home   Help Calendar Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: Defaults Up Front (Y/N)  (Read 2878 times)
kshaffer
Professional
***
Posts: 12


« on: April 25, 2007, 09:26:53 AM »

This is just an informational question. I am relatively new to SB and found that the Defaults Up Front field on the screen definition F6 screen will infact display your default values when the screen is displayed. My question is this. If I have logic in the Derived Field field, but not in the Default Value field, how does SB know what to display? Can you give me a behind the scene explanation of the SB+ flow?

Thanks,

Keith Shaffer
SB+ Newbie
Logged
precisonline
President/Chief Technologist
Administrator
Rock Star
*****
Posts: 1532



WWW
« Reply #1 on: April 25, 2007, 10:31:39 AM »

It might help to think of defaults and derived values as two versions of essentially the same thing.  Both calculate a value.  However, the default will cause that value to be stored in a field in the record (or in a work field) whereas the derived value will calculate the value, use it (in a screen or report) and then discard it.  Derived values are therefore calculated every time they are referenced; defaults - on the other hand - are calculated, the result inserted into the record, and then the calculation is ignored thereafter (except for mandatory defaults, which are different and are explored in more detail in the Connect! course SB-01004: Using SB+ Field Defaults).

It should also be noted that defaults only apply to SB+ screens and selection processes, whereas derived values apply to the query and reporting tools as well.
Logged

-Kevin
Accidents "happen"; success, however, is planned and executed.
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.7 | SMF © 2006-2008, Simple Machines LLC Valid XHTML 1.0! Valid CSS!