Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by MossC

  1. MossC

    Only One Record per Form

    Mike, Although I'm sure there are many other ways of doing it, one way I have done this in the past is to open a new form based on a query of the table. For the criteria put [Forms]![OriginalForm]![goto1]. This query will have just this one record so there will be none to scroll to. This is...
  2. MossC

    Check a Field against a table's field--S/B simple

    Steve's code didn't work for me but jamescen's did. Thank you!! You are a star!
  3. MossC

    Check a Field against a table's field--S/B simple

    I've been out all day and haven't had a chance to check all day. I haven't looked at the code yet but I wanted to respond to Jim. These loan numbers are generated by a Bank and we will be servicing any loans in default. Thus, when the Bank gives us a loan to service, we have to enter it into...
  4. MossC

    Check a Field against a table's field--S/B simple

    Is there any way to do this without renaming either my field or my combo box? Is that even the problem? I am happy to leave a star for anyone who can help. :) Thank you.
  5. MossC

    Check a Field against a table's field--S/B simple

    This is where I am still getting stuck: If IsNull([LoanNumber]) Then MsgBox "You must enter a Loan Number" DoCmd.CancelEvent End If If DCount("[LoanNumber]", "tblLoanInfo", "[LoanNumber] = '" & Me![LoanNumber] & "'") > 0 Then MsgBox...
  6. MossC

    Check a Field against a table's field--S/B simple

    Actually, I made a mistake earlier. It is a combo box that has a row source as the LoanNumber field in a table named tblLoanInfo. The "Limit to List" is set to "No" so that I can input a new Loan Number. I tried the code on the Before Update section but it didn't work. I...
  7. MossC

    Check a Field against a table's field--S/B simple

    I changed the code a little to match my field names and here is what I came up with: If IsNull([LoanNumber]) Then MsgBox "You must enter a Loan Number" DoCmd.CancelEvent End If If DCount("[LoanNumber]", "tblLoanInfo", "[LoanNumber] = '" & Me![LoanNumber]...
  8. MossC

    Check a Field against a table's field--S/B simple

    Steve, What I have is a combo box and 2 buttons. One button is "View Existing" and one is "Enter New". If the "Enter New" button is clicked, I want to make sure that it doesn't exist. The combo box is so that it can be dropped down and then the "View...
  9. MossC

    Check a Field against a table's field--S/B simple

    I think this is an easy one but I can't figure it out. I have a text box where I will enter a value. What I want to do is to check the value against an existing table when a button is clicked. If the value that is entered already exists on the table, I want a message box indicating the value...
  10. MossC

    Passing one value to multiple tabs

    I have another form set up like that for viewing the data but this one is for data entry. When I use the subforms, if there is no corresponding LoanNumber the subform is not visible. Is there a way around this?
  11. MossC

    Passing one value to multiple tabs

    As I stated earlier, I have one query that combines 7 different tables that I have on a form. On the form, I have a LoanNumber (I think I said FileNumber in the other thread) and then I have 7 tabs, each representing a table that was combined by the query. What I want to do is to enter the...
  12. MossC

    Referencing Controls on a Tab

    anasazii, Thanks for the response. This thread has a lot going on. I will start a new one called "Passing one value to multiple tabs" to eliminate confusion.
  13. MossC

    Referencing Controls on a Tab

    I, too, have a related problem. I have a form that has a FileNumber and then 7 tabs. I have the Record Source set as a query that combines 7 tables. What I want to do is pass that file number to each of the 7 tabs. As of right now, I have to manually input the FileNumber on each tab. I want...
  14. MossC

    Pull Info from One Form to Another

    I tried that but what I need to do is then enter a new comment for that new FileNo. There may be 10 previous comments for that FileNumber or there could be 0. When the code ran, it gave me an error "You can't go to the specified record." Thanks.
  15. MossC

    Pull Info from One Form to Another

    I am working with a form and when I click on a button, it opens a new form. The first form holds a bunch of comments and is a continuous form so if one file has 10 comments, all comments are seen. When the button is clicked, it opens a form to enter a new comment. What I want to do is to...

Part and Inventory Search

Back
Top