hardhitter06
Registered User.
- Local time
- Today, 05:43
- Joined
- Dec 21, 2006
- Messages
- 600
Hi All (Access 2003),
I recently received help on the forum and was able to set up my first subform for a database I've been working on. I wasn't sure exactly how to do it, but worked my way through it with some help from other users on the site.
I thought life would be easy after that, but it isn't. My problem is I'm trying to set up two searchs on my frmMain (My menu form). I have one that is suppose to search by Username and I have another to search by account.
On my menu form, I have a textbox where a user will input the username they want to search. Respectively, I have the same thing set up for the account number but a combo box is used with all the accounts in the table. So the user will enter in the textbox with what they would like to search and then click a command button that will invoke a qry/form.
I would like the Username search, to show all records under that username showing the Username, Account Number, and 9 checkboxes.
I would like the Account search to return all usernames under that account along with the 9 checkboxes. (also what account number the User Searched)
Currently, I had this set up to kind of work...meaning, the searches worked but for example, my subform for one of my records had 3 accounts tied to it, instead of creating just the one user name with 3 accounts, it created one usewr name with 3 accounts 3 times...something having to do with my ID fields.
Right now, I was trying to fix that and now I'm getting nothing and really am unsure how to get past this subforms table.
I'm just going to post my database if anyone would like to take a look instead of me rambling on and on and then be more specific if need be.
Thank you.
I recently received help on the forum and was able to set up my first subform for a database I've been working on. I wasn't sure exactly how to do it, but worked my way through it with some help from other users on the site.
I thought life would be easy after that, but it isn't. My problem is I'm trying to set up two searchs on my frmMain (My menu form). I have one that is suppose to search by Username and I have another to search by account.
On my menu form, I have a textbox where a user will input the username they want to search. Respectively, I have the same thing set up for the account number but a combo box is used with all the accounts in the table. So the user will enter in the textbox with what they would like to search and then click a command button that will invoke a qry/form.
I would like the Username search, to show all records under that username showing the Username, Account Number, and 9 checkboxes.
I would like the Account search to return all usernames under that account along with the 9 checkboxes. (also what account number the User Searched)
Currently, I had this set up to kind of work...meaning, the searches worked but for example, my subform for one of my records had 3 accounts tied to it, instead of creating just the one user name with 3 accounts, it created one usewr name with 3 accounts 3 times...something having to do with my ID fields.
Right now, I was trying to fix that and now I'm getting nothing and really am unsure how to get past this subforms table.
I'm just going to post my database if anyone would like to take a look instead of me rambling on and on and then be more specific if need be.
Thank you.