>I have student databse in MS access namely "student.mdb" the table name is "stu"(D:\muthu\student.mdb) with three fields namely 1.regno 2. name 3. category.
>
>In vfp I have designed "Student.scx" in that i put one text box namely txtsearch and one two command button namely 1. cmdsearch 2.cmdexit.
>
> I have enterd letter of students name in txtsearch box and click cmdsearch button and result will be in browse window.
>
>let assume I have enterd "A" in txtsearch box and click command button whose student names begain with "A" will dispaly in browse window. or if I have enterd "B" in txtsearch box and click command button whose student names begain with "B" will dispaly in browse window.
>
> How to write code
Double click the command button, a code editor window will pop up. You can write code there.
Cetin