I am new in this forum. Before posting I searched for similar topic and I could find any information about my specific issue. If I missed it I apologize.
I have a single form (customer orders) with its default view set to "single form", containing a sub-form (customer order details) whose default view is set to "continuous form" in order to view multiple records. I manage this combination form in access (.accdb) 2007 via visual basic with combo boxes and form buttons.
When I want to enter new data into the sub-form via "DoCmd.GoToRecord , , acNewRec" command from visual basic then I get a new row in order to add/select data plus an additional blank row underneath. This blank row confuses my users.
Is there a way to prevent the blank row from appearing? Alternatively can I switch, via VB, the default view of my sub-form to “Datasheet” just before entering the data (this eliminates the empty row) and then switch, via VB, back to “Continuous form” right after saving the data?
I also found information about using a split form, which I find very useful for certain cases, but this, as I understand it, cannot be used as sub-form presently.
Thanks for reading my post. Your input will be greatly appreciated
I have a single form (customer orders) with its default view set to "single form", containing a sub-form (customer order details) whose default view is set to "continuous form" in order to view multiple records. I manage this combination form in access (.accdb) 2007 via visual basic with combo boxes and form buttons.
When I want to enter new data into the sub-form via "DoCmd.GoToRecord , , acNewRec" command from visual basic then I get a new row in order to add/select data plus an additional blank row underneath. This blank row confuses my users.
Is there a way to prevent the blank row from appearing? Alternatively can I switch, via VB, the default view of my sub-form to “Datasheet” just before entering the data (this eliminates the empty row) and then switch, via VB, back to “Continuous form” right after saving the data?
I also found information about using a split form, which I find very useful for certain cases, but this, as I understand it, cannot be used as sub-form presently.
Thanks for reading my post. Your input will be greatly appreciated