I'm trying to come up with a solution where users can add/edit rows of data in memory only (the "many" part of a 1-to-many relationship, for example adding/editing several orders for a single customer), so that if they want to cancel, changes will not go to the database. I thought a listbox could work, although other suggestions are welcome. I couldn't figure it out with a linked subform, as updates always occur automatically as you move to each record.
After populating the listbox initially from a query of db data, I would like users to be able to go to an add/update panel, the results of which would then be updated/appended to the list box, without actually saving to the DB. Is there any way to update a multi-column list box manually this way (also deleting rows)? I would then need to be able to iterate back through the list to do the actual updates/additions that would be flagged and indicated as part of the list box's hidden row data.
Maybe I'm making this too complicated, but I just don't know how to get these multiple-row changes/updates to be reversible. I don't know if recordsets are the answer, but I only know the basics of recordsets (opening, moving within them, etc), and I thought that updates to them also go to the DB as you go along.
Thanks for any advice.
After populating the listbox initially from a query of db data, I would like users to be able to go to an add/update panel, the results of which would then be updated/appended to the list box, without actually saving to the DB. Is there any way to update a multi-column list box manually this way (also deleting rows)? I would then need to be able to iterate back through the list to do the actual updates/additions that would be flagged and indicated as part of the list box's hidden row data.
Maybe I'm making this too complicated, but I just don't know how to get these multiple-row changes/updates to be reversible. I don't know if recordsets are the answer, but I only know the basics of recordsets (opening, moving within them, etc), and I thought that updates to them also go to the DB as you go along.
Thanks for any advice.