Home » Developer & Programmer » Forms » control block populating it
control block populating it [message #482254] Wed, 10 November 2010 10:30 Go to next message
XMEGA
Messages: 2
Registered: October 2010
Junior Member
I have many data blocks and canvas. I have a LOGON_BLOCK with everything I need just displaying/layout 2 fields ID and PASSWORD. Then I have a FACULTY_BLOCK which I need to display everything the LOGON_BLOCK has behind the page like f_last, _first names. I converted the DATA_BLOCK to a CONTROL_BLOCK, how do I populate this page? what trigger?

[Updated on: Wed, 10 November 2010 10:40]

Report message to a moderator

Re: control block populating it [message #482321 is a reply to message #482254] Thu, 11 November 2010 01:12 Go to previous message
Littlefoot
Messages: 21818
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
WHEN-VALIDATE-ITEM (WVI) could do that, as - as far as I understood - you have to check whether ID + PASSWORD combination is correct. So, if validation is OK, populate items in another block. Or, do that in PRE-BLOCK (of the second block) trigger; it won't fire if validation fails (in that case, don't forget to RAISE FORM_TRIGGER_FAILURE in the WVI trigger). Or ... well, try some more triggers, there are plenty of them.
Previous Topic: Outer Joins in Forms. Possibility ?
Next Topic: Master-Detail Questions
Goto Forum:
  


Current Time: Thu Sep 19 00:15:48 CDT 2024