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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. AmigoMobility

    Calling NotInList Function

    Hey Pampers, Thanks for your reply. I am pasting the function and code that I am using to accomplish what I'm doing. Remember my goal is to prevent from having to enter Response = NIL(NewData) in each and every NotInList event of each and every cboBox. Here's my code: Function NIL(NewData As...
  2. AmigoMobility

    Calling NotInList Function

    I am using a function for the NotInList event on multiple cboBoxes. I can call the function from the forms module using: Response = NIL(NewData), however I would rather not put this call behind every cboBox and into the forms module. Is there a way to put this call into the property of the...
  3. AmigoMobility

    Open a form and see blank record for data entry

    Your welcome. Glad we could help. Shane
  4. AmigoMobility

    Open a form and see blank record for data entry

    One way to to open the form like this: DoCmd.OpenForm frmname, , , , acFormAdd Another way is to go to the Forms properties and under the 2nd tab (Data) change Data Entry to "Yes" Doing this will always open the form to a new record and may not be what you want to do. HTH, Shane
  5. AmigoMobility

    Why does the form flash (blinks)?

    Your welcome. Glad I could help. Shane
  6. AmigoMobility

    Why does the form flash (blinks)?

    Maybe the link below will lend a hand and shed some insight into your problems. HTH, Shane http://allenbrowne.com/ser-46.html
  7. AmigoMobility

    Runtime error 2427

    With that being said, then couldn't you do some kind of a recordcount using the individual as a criteria and if it comes up <=0 then have something else happen and not let your code even get started?
  8. AmigoMobility

    check for duplicate entries on same date

    Tom, Your welcome. Wish I could of been more help to ya. I thought about DCount but couldn't get my mind to wrap around the right way to get it done. When I saw Paul's post I was glad he stepped in cause I said to myself "yea, what he said." Shane
  9. AmigoMobility

    check for duplicate entries on same date

    Ok, Tom, I don't want to give up yet and since you don't seem to have any other takers then lets see if we can't build a snare. After the DLookup for eventTemp put MsgBox eventTemp and then run this on something that you know will come out wrong and let's see what it tells us the value is of...
  10. AmigoMobility

    check for duplicate entries on same date

    Hey Tom, I'll take a shot at something here and hope I'm not chasing a rabbit but try changing eventTemp to this: eventTemp = DLookup("EventID", "tblDates", "[EventID] = " Forms!frmAppointments!cboEvent & " And [EventID] > 3") I don't know for sure if that will make a difference but it's...
  11. AmigoMobility

    Runtime error 2427

    Hey Oz, Is runtime error 2427 "has no value" error? It would help out if we knew what the errors says but I'll take a shot in the dark. Maybe you should nest your code inside of another If statement that checks for Me!OverallTotal being either empty or Null and stop the code or have it do the...
  12. AmigoMobility

    Toolbars/Menu's problems

    My problem is resolved by making a little bit of a change. Below is how it was resolved. I had put the code in the frmNavigators OnClose event, which wasn't firing when the dbase was closing cause on the frmNavigator I have a cmdButton that closes the dbase with DoCmd.Quit. The frmNavigator...
  13. AmigoMobility

    Toolbars/Menu's problems

    I found the code below to turn off the toolbars and menu's, which works fine, however even if I set it back to true at the Close event of the main form, I can not see the toolbars and menu's on any of my other databases (separate dbases from the one that this code is in). I can set it back to...
  14. AmigoMobility

    Set rs as recordset does not work

    If StationID is numberic try: WHERE Werknemers.StationID)=" & [forms]![Statistiek per station]![StationID] If StationID is text try this: WHERE Werknemers.StationID)='" & [forms]![Statistiek per station]![StationID] & "'" HTH, Shane
  15. AmigoMobility

    Learning Functions and Subs

    Zion7 and anyone interested, Here's what I finished up with and it works. Thanks again for helping me through a project that I spent several days trying to accomplish. Shane Public Function fCust() As Form Set fCust = Forms![frmCustomers]![subCusDet].Form End Function Function...
  16. AmigoMobility

    Learning Functions and Subs

    Hey Zion7, Thank you very much for the education. I'm off to give it a try. I get back with ya if I screw things up. :) (which I'm quite capable of, unfortuately) Shane
  17. AmigoMobility

    Subform Filter is Locking up DB

    Hey Pampers, Thanks for your reply. I do the same thing you have recommended, on several other forms with no subform, but this is acting different from that. I have some investigating to do on the subforms properties. I have learned that a few events in the wrong place can cause a problem...
  18. AmigoMobility

    Learning Functions and Subs

    Hey Zion7, Thanks for your help. I believe you are getting me well started on this project. If I took your example above, then could I go a step further and call it something like this: frm.RecordSource = fSQL Thanks again, Shane
  19. AmigoMobility

    Learning Functions and Subs

    I'm just starting to built my own functions and subs and would like to ask a couple of questions, so that I can gain a little more knowledge on how to do this. Question #1 If I have a particular Form with a Subform on it and was going to be referring to it often in my code. How could I make...
  20. AmigoMobility

    Subform Filter is Locking up DB

    A2K I am using the code below to filter a subform[subCusDet] on MainForm [frmCustomers], (using a pop up form). If records are found I allow the subform to be filtered and this part works fine. If no records are found I am trying to set the FilterOn back to false. At this point I'm getting an...

Part and Inventory Search

Back
Top