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 gkittelson 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. Excellerant

    copy text file data into an array

    Thank you all for your assistance. I was not understanding that although I created the text file from a 1-dimensional array it would require a 2-dimensional array to retrieve that same data. That was all it took. Your help is greatly appreciated. Excellerant
  2. Excellerant

    copy text file data into an array

    Thank you all. Unfortuantly my internet was down again yesterday so I could not try this. sethmcdoogle, I am not sure why you suggest a 2-dimensional array though. I am bringing a list of six Currency names. The intention was to bring in the list of names from a text file, assign them to an...
  3. Excellerant

    copy text file data into an array

    Below is the code I have been using. The puts command does display the right information. When I try to copy that information into my array it occupies into all parts of the array not just the current index position. As the while loop continues it then writes over most of the data in each. Not...
  4. Excellerant

    CarryOver function issue

    p27br, Unfortunatly no. At least not using the CarryOver(me) code. I have setup the other code that was recommended on new forms using the "CarryForward" tag on each field. That has worked on everything I have added it too so far, with the exception of Access not liking one piece of the error...
  5. Excellerant

    Use filter on 2 search criteria on a form

    Thankyou peini and Dougp, this is exactly the question I was looking for. I thought I tried Dougs method without success earlier but now it seems to be working. Here is the code I used. It sure is nice that ApplyFilter will prompt the user for me. DoCmd.ApplyFilter , "[date number] = [What...
  6. Excellerant

    CarryOver function issue

    All, I have been in contact with the originator of the code, Allen Browne [allen@allenbrowne.com]. He offers the following information, although I have yet to resolve the issue on my end. "There was a problem with Access 97 not closing that traced to two different bugs in Access: 1. If code...
  7. Excellerant

    CarryOver function issue

    p27br, Thanks for the information, I just emailed the original creator for his input. If he has an answer I will post it here as well. Excellerant
  8. Excellerant

    CarryOver function issue

    MichaelRed, Below is the only other code this form uses. I did not see any other objects being opened. Thanks for helping, Excellerant Private Sub Form_Current() If Results = "facechip" Then DefectsFrame = 1 DefectNumber = 1 "2-13 ommitted here" ElseIf Results = "Too...
  9. Excellerant

    CarryOver function issue

    p27br, Do you know where this code came from originally? Someone else installed this here and they are no longer with us. If we knew were it came from maybe we can track it to someone who has already found the solution. Excellerant
  10. Excellerant

    CarryOver function issue

    CajunCenturion, I don't think I answered all your questions. At the time this code was added, I was not involved in using this form. I am not sure if anything else was added at the same time or not. There is some other code within the form, but if I remove the call CarryOver(me) from the...
  11. Excellerant

    CarryOver function issue

    MichaelRed, Not sure what other objects you are referring too, rst is set to nothing and we added set ctl to nothing. These did not help. Excellerant
  12. Excellerant

    CarryOver function issue

    CajunCenturion, I added the code as you supplied but I am getting a Compile error: Method or data member not found. I am running Access 2000 and I see the code you are using in the help file. Not sure why I am getting the compile error. Something I just remembered, if this makes a difference...
  13. Excellerant

    CarryOver function issue

    CajunCenturion, What I posted is the entire module. The CarryOver procedure is a module by itself called basCarryOver. The procedure is called from the BeforeInsert event procedure of each form that uses it. If I understand it right, this is a public sub. Not sure what you mean by "standard...
  14. Excellerant

    CarryOver function issue

    MichaelRed, I have run the module through step-by-step and it never did go to the case else error but the "resume_ExitCarryOver" does close the rst. The form does actually close. I can also close the file but Access itself stays open. As far as I can tell there are no objects left open. I hope...
  15. Excellerant

    CarryOver function issue

    CajunCenturion, Thanks for the reply. I rarely get the msgbox that results from the Case Else error handler. When I do, it does not work right but that usually only occurs in a new table with no records. Could this be causing a problem even if the error is not present? I also tried it without...
  16. Excellerant

    CarryOver function issue

    The previous owner of a database here added the "carryover" function to a form I now use on a daily basis. I have also added it to other forms with success except for one problem. Once the form is used, Access will not fully close. The individual file closes but not the program. I have to use...

Part and Inventory Search

Back
Top