how use search option in my form [message #165747] |
Sat, 01 April 2006 04:12 |
mfa786
Messages: 210 Registered: February 2006 Location: karachi
|
Senior Member |
|
|
hi master
sir i have master detail form how i use search option such as user put A% , %A% or 12% or %12% in ant textbox then what code i write and where i put my code
i use my button not use defualt menubar
please give me idea and code sample
Thanking you
Aamir
|
|
|
|
|
Re: how use search option in my form [message #165874 is a reply to message #165830] |
Mon, 03 April 2006 03:05 |
|
djmartin
Messages: 10181 Registered: March 2005 Location: Surges Bay TAS Australia
|
Senior Member Account Moderator |
|
|
ANY form containing a block based on a table is a 'search sample' form. Create one and try it. It works! (You must have some data, of course.)
Concerning function keys, search this forum for 'function key'. Also look in reference manual for 'key_f' it will show how a function was handled, but it is not recommended.
Also, create a new form based on 'emp', at the form level create a trigger, in the list press 'k' then 'f', this will show the function keys that are available for 'hard-coding' to you, press '1' and put text likebegin
message('this is F1'); pause;
end; in the trigger. Compile and run your form, then press F1. Your message should appear.
David
|
|
|