I have a form that has an order number on it and I have a datagrid that needs to get that order number and show the notes that correspond to the main form's order number. They are on the same form, and would work together like a subform in Access would. The datagrid uses a dataenvironment, more specifically a stored procedure to populate it. The stored procedure needs to be sent a variable (the order number). Where and how would I place the grid or the code so that on the change event of the order field the datagrid would shoe the new notes that correspond to that order? Thanks in advance!!