Searching by Certain Field
Quote:
>Yes, that might work, but I want to search for parts of a field, and
>not the whole one. Like is Fname = Frank, then all of thses would
>word:
>F, fr, Fr, FR, fR, rank, fran, nk, frank...etc....
So, write your search check to do this...and there's no might to
it...what I told you will definitely work as a search..you're
confusing requirements of setting up the search with writing the code
to recognize you have a found search.string...which is not a search,
but text processing in this case....you're going to have to grind this
one out using the Pos() function included in the system unit to write
a function to perform the comparison -- maybe write your function to
return a boolean true if found, and false otherwise?
Glenn Grotzinger
MOD and S3M user extraordinaire.
Writer of TP tutorial. All released parts findable at:
ftp://garbo.uwasa.fi/pc/turbopas/tptutr11.zip