INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Jobs

Require Help with dbEdit()

Require Help with dbEdit()

(OP)
Hi, I have an Inventory Program (Clipper 5.01) that allows the User to browse the database using the dBEdit Function and then use the "F" keys to Add, Edit, Delete... etc. I need to create a routine that will allow the User to search for a set of embedded characters (ie. "Grain Bag") in the description field. It's easy enough to find the first occurence of the match and set the record pointer on that record, what I can't figure out is how to continue the search if the User decides the first match is NOT the one desired. It would be like using the F3 key in most windows or web based search functions that utilize the standard Ctrl-F search routine. If anyone can assist me I will be forever grateful.

ThankYou... Rahja!
 

RE: Require Help with dbEdit()

Hi Rahja

Likely the easiest way would be to use a function invoked by the F-key to set a filter on the database and then refresh the browse. Then the remainder of the program would function normally, except only filtered records would appear.

You would also have to reset the filter when done to resume normal processing. Also be aware that allowing the addition of records with a filter active can be a problem because if the added record doesn't satisfy the filter it will seem to disappear and the operator may not think it was saved.

Jock

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Resources

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close