GregoryWest
Registered User.
- Local time
- Today, 07:18
- Joined
- Apr 13, 2014
- Messages
- 161
I have a form, sort of a menu, with a couple controls to set some parameters in a little database. On this form I currently have a sub-form control. What I need to do, is depending on which of several control buttons on the main form is pressed, the actual sub-form changes to be what the user is asking for.
Think of it as a bank account. The name screen has your name, address etc... And three buttons, "Deposits" "Withdrawals" "Other", The screen shows all their personal information name address phone etc. and below is a listing of all their transactions in a window. If they press "Deposits" The window changes to just showing all their deposits, same for Withdrawals, Other shows back changes etc.
Linking the main form and the sub-form data is optional as I can get the data I need be a couple methods. The problem is when I use ;Me.MainWindow.SourceObject = "Roll-ByLaws"' The form shows up OK, but there is no data in any of the sub-form fields. If I use docmd.openform I get the form in full screen mode covering up the rest of the data on the screen
Anyone done anything like this before?
:banghead:
Think of it as a bank account. The name screen has your name, address etc... And three buttons, "Deposits" "Withdrawals" "Other", The screen shows all their personal information name address phone etc. and below is a listing of all their transactions in a window. If they press "Deposits" The window changes to just showing all their deposits, same for Withdrawals, Other shows back changes etc.
Linking the main form and the sub-form data is optional as I can get the data I need be a couple methods. The problem is when I use ;Me.MainWindow.SourceObject = "Roll-ByLaws"' The form shows up OK, but there is no data in any of the sub-form fields. If I use docmd.openform I get the form in full screen mode covering up the rest of the data on the screen
Anyone done anything like this before?
:banghead: