Im a newbie and im working with 4 forms, first form is a main menu which has 6 buttons, if one of the button is clicked, a view only form is shown. this view only form has add edit and delete buttons. if edit or add is clicked, a single form is shown. if add, all fields are blank and if edit, data source is pulled from rows selected. my problem is: I created 1 database in access 07 with multiple tables. atleast 12 tables and every 2 tables are related with each other. all tables are not related with each other but by two's. there is a primary key for each and a foreign key for another. what i want to do is: since i have 6 buttons in form1 which is main form, i want to pull a specific table from my database to fill the form 2. which means, using the same form but with different data filled depending on the button that is clicked from the form1. i hope you can help me find a solution for this. give me an example if i have to do a constructor or a method for this. thank you.
anthonyjpv 6 Junior Poster in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.