How to have customer lookup thier purchase? Another criteria view question

How to have customer lookup thier purchase? Another criteria view question

Customer view purchase view question, does anyone have example to point me to? so that customers can enter name and type of fruit to lookup their purchase?

I would have Two forms and a Customer View

Edit Record

Fields   Enter type of fruit           string: type_fruit
            Enter Your First Name   string: first_name

Customer Purchase Form

Fields

Type of Fruit Purchased          string: type_fruit
First Name
Last Name
Qty purchased
ect

Based on the input at Edit Record ( Fields   Enter type of fruit  string: type_fruit && Enter Your First Name string: first_name)

the Customer View  view would only come up with records with that criteria...

Sorry, it's probably  a common question, but had trouble finding a solution

Thanks!