sthomp04
10-25-2004, 05:51 AM
Need help with Access VBA & Recordsets
Have an access DB and am coding some VBA on the back end. When trying to go to a new record I am having some problems.
My main form fTransaction has a series of buttons which allow the user to open a popup form with some extra data(all data is in the same table).
Things seem to go well, and I can edit the data fine until I try to go to a new record.
The popup form will create a new record but then when it closes I want the main form “fTransaction” to be on the same (newly created) record. Here is the trouble. I cant get the form to go to the same newly created record. I am guessing that the main form is not working with the same recordset that the popup form has????
Since this is my first foray into using recordsets I assume my coding and or logic is not correct. I am willing to send the database to you for review.
Please help
Thanks
Steve
Have attached DB
Have an access DB and am coding some VBA on the back end. When trying to go to a new record I am having some problems.
My main form fTransaction has a series of buttons which allow the user to open a popup form with some extra data(all data is in the same table).
Things seem to go well, and I can edit the data fine until I try to go to a new record.
The popup form will create a new record but then when it closes I want the main form “fTransaction” to be on the same (newly created) record. Here is the trouble. I cant get the form to go to the same newly created record. I am guessing that the main form is not working with the same recordset that the popup form has????
Since this is my first foray into using recordsets I assume my coding and or logic is not correct. I am willing to send the database to you for review.
Please help
Thanks
Steve
Have attached DB