Passing Parameters via a button to a form
I have a form on a page based on a simple table with with the following fields
Code, Name and Address
I would like to put a button on this form which will then open a separate page which contains a form based on a different table which has the following fields
Code, Notes
When I click on the button I would like it to open the second form in edit mode if a record already exists.
So I need to pass the value of the code field in form 1 to query in the record in form 2.
I am very new to Apex and not sure how to do help much appreciated.