Home » Developer & Programmer » Forms » Open a form with a default paramter (Please help.urgent)
Open a form with a default paramter (Please help.urgent) [message #84254] Fri, 20 February 2004 05:41 Go to next message
Andy Grace
Messages: 9
Registered: May 2003
Junior Member
I'm new to forms and am working with 6i

I need to imbed some code in my form so when the client runs it it will automatically query some data base on a condition...

The only way I can think of doing this is by using when new form instance then adding the following peace fo code

:table_name.a_type_code:=1000;

Then it will fill out the first column with the subject that is reralted with a_type_code = 1000....It doesn't really work im getting something and it's asking me to save but shows up as blank because 1000 is never seen on the form only the subject that's associated with it...

Can I do this by simple code in when new form instance? Like having enter_query....

2) How can I do this by settign a global variable if I wanted to...

thx for your help

 

 

 
Re: Open a form with a default paramter (Please help.urgent) [message #84257 is a reply to message #84254] Sat, 21 February 2004 00:31 Go to previous message
sathya
Messages: 27
Registered: December 2000
Junior Member
Give a try by making use of Pre-Query trigger.
this trigger is mainly used for setting the conditions for querying.

Good luck.
Previous Topic: Radio Button
Next Topic: Calling Flash Buttons In Forms.
Goto Forum:
  


Current Time: Fri Apr 19 18:30:27 CDT 2024