2 Access Continuous Subforms on Filtered Main form Sync

Mac1206

Board Regular
Joined
Jun 3, 2016
Messages
184
My question is in using the built in filter, I have two continuous forms side by side pulling from One Table due to it having so many fields which Detail Dept. needed. Everything works accordingly with the filter except moving to the next record within the forms. Is there a way I can keep the records sync in both forms while scrolling through or tabbing through the records. Sometimes there may be as many as 300+ records and I need for both subforms to stay together when tabbing down or scrolling through FrmSubDetailsI which is the main continuous subform. Any ideas on how to accomplish this?

FrmSubDetailsI
FrmSubDetailsII
 

Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.
Or highlight the current row the cursor is on based on the Unique ID for that row for both subforms since it's pulling the data in from the same table...
 
Upvote 0
I cannot imagine a situation where 2 side by side subforms from the same query or table would be a good idea. If I had room across a form's width for 10 fields I'd expect that individual subforms would cut that down to 8 or 9 visible fields because of scrollbars and such. Be that as it may, you'd need the PK field from that table in each subform to have any chance of syncing. If you've managed to sync the main and 1 subform using Master/Child relationship setting in property sheet, I imagine you could link a second subform to the same master field. However to keep (e.g.) the 4th record in 2 side by side subs to be in alignment horizontally, that would take some real effort and a lot of code. I wouldn't even want to attempt it.
 
Upvote 0
You might find some code written by MajP to be useful from here
 
Upvote 0

Forum statistics

Threads
1,223,903
Messages
6,175,284
Members
452,630
Latest member
OdubiYouth

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top