chad_stone
Member
- Joined
- Jan 31, 2008
- Messages
- 8
- Programming Experience
- Beginner
I have two tables
CustomerID (Primary Key)
Supplier
ContactFirstName
ContactLastName
and a couple more items that are not important.
Second Table
PurchaseOrderID
Purchase Order
Total Cost
CustomerID (Foreign Key)
I have created two different foms for these two tables.
CustomerForm is the Form that opens by default. I have a button on this form that opens POForm. When I select CustomerID 2 and hit the button. I want the POForm to open and the have the PO that has the same CustomerID (Foreign Key) to open automatically. It is not doing that. It open and goes to the first record of the table. What am I doing wrong?
CustomerID (Primary Key)
Supplier
ContactFirstName
ContactLastName
and a couple more items that are not important.
Second Table
PurchaseOrderID
Purchase Order
Total Cost
CustomerID (Foreign Key)
I have created two different foms for these two tables.
CustomerForm is the Form that opens by default. I have a button on this form that opens POForm. When I select CustomerID 2 and hit the button. I want the POForm to open and the have the PO that has the same CustomerID (Foreign Key) to open automatically. It is not doing that. It open and goes to the first record of the table. What am I doing wrong?