Hi. I have created a single form and populated the fields in the form using VBA taking fields from many tables in the DB (I cant create a view or even a crosstab to capture all the data). The vba takes in a product ID (on load) and returns the data into the single form view. It populates all the fields correctly. I am putting the data in the display fields such as Me.ProductID, Me.ProductPrice etc. I would like to turn it into either a datasheet or continuous form that displays the data all of the products in the DB. I am struggling to see how to manipulate a multi row form and put the data into each record.
There must be away to index the records in a datasheet form and create new rows? I am thinking I can create a recordset from the DB or all the products and step through this recordset retrieving the ProductIds and then loop through the onload vba in my single form to get back the data for each productID/row. The issue is I cant see how to create the rows in the form and dynamically populate them.
Please could someone kindly direct me to a tutorial on it or at least some basic code to populate & manipulate the continuous form/datasheet.
Many thanks in advance
Tony