Home » Developer & Programmer » Forms » how use search option in my form
how use search option in my form [message #165747] Sat, 01 April 2006 04:12 Go to next message
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 #165748 is a reply to message #165747] Sat, 01 April 2006 04:24 Go to previous messageGo to next message
Maaher
Messages: 7065
Registered: December 2001
Senior Member
- Hit enter-query.
- Type a search string with wildcards in the field you want to search.
- Hit execute query.

No coding required, it is built-in.

MHE
Re: how use search option in my form [message #165830 is a reply to message #165747] Sun, 02 April 2006 23:21 Go to previous messageGo to next message
mfa786
Messages: 210
Registered: February 2006
Location: karachi
Senior Member
hi master
1)
sir can you send me any search sample form

2)
sir how i use F-key in my project please send me any samle form

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 Go to previous message
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 like
begin
  message('this is F1'); pause;
end;
in the trigger. Compile and run your form, then press F1. Your message should appear.

David
Previous Topic: see my code for execute_query
Next Topic: not able to connect to database (prakskary)
Goto Forum:
  


Current Time: Fri Sep 20 08:29:58 CDT 2024