If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > PC based Database Applications > Corel Paradox > search form - pleas help an absolute beginner

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-15-03, 09:04
tiere-online tiere-online is offline
Registered User
 
Join Date: Sep 2003
Posts: 1
Question search form - pleas help an absolute beginner

hi
i want to make a search form, without the therm "datasearch", for a little adress-database. do anybody here have an little codesnipe, or a simple example
perhaps you can send your help to
mueko@mueko.de
thanks from germany
uli
Reply With Quote
  #2 (permalink)  
Old 09-15-03, 13:17
Maroonotmoron Maroonotmoron is offline
Registered User
 
Join Date: Sep 2003
Location: Dallas
Posts: 182
method pushButton(var eventInfo Event)
Locatepattern("Vendor Name", Searchfield.Value +"..")
endMethod

This is a simple method. It is case sensitive and requires that the entered string be accurate. But it is the core of a search.
You create a textfield, this one is named Searchfield, not associated with a database field.
Create a pushbutton.

To the pushbutton method attach the single statement. The ".." at the end tells it to look for the text at the begining of the table field. (i.e. Smit will find Smith or Smithson). You can add statements to make the search case insensitive. you can also add a second button or create a program which toggles the button response to add a locatenext search which will continue the search if the first instance is not what you are looking for.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On