Alyssa... There are many approaches. I conceptually have two modes for
the
_same_ data input form. A data mode and a find mode. I have a function
that
disables and enables features depending on the mode so in find mode a
context menu pops up to help searching. In the data mode the default
textbox context menu pops up. The menu items also change so that in
findmode there is a search menuitem. In the find mode the user enters
data
into the form and selects search. They can then scroll through the rows
that
match the search criteria. Particulars are shown in a related datagrid
that is
bound to the current displayed customer. Look here for screenshots.
http://www.geocities.com/jeff_louie/..._framework.htm
I have sample code on my website that creates a sample master-detail
dataset programmatically, NO DATABASE NEEDED, to test your code logic. I
also have code there that shows two ways to search. 1) Loading all the
data
into memory and filtering on a view or 2) using parameterized SQL
queries to
return a restricted subset of the data. You don't need a fancy framework
to
start. In fact, you should probably do it by hand first to learn.
Regards,
Jeff
I don't know how to write the code so that when the user enter their
customer ID, i want to show the particulars about their customer shown
in the
data grid.....thanks for ur help.<
*** Sent via Developersdex
http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!