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 Wanet Telecoms Ltd 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. jjlogan

    Specified Field Could Refer to more than one table

    SOLVED: Thanks for the quick responses folks. Duane, I tried copying the Debug.print and got the same error messages, but in the sql copied I saw the error... stood out like a sore thumb - It was in the ORDER BY clause. I had an unassigned field RespOrg (cause of error); this field reference did...
  2. jjlogan

    Specified Field Could Refer to more than one table

    Thanks for the input. 1) I did try your suggestion using the alias and still got the Error message: field RespOrg could refer to more than one table in the From clause. 2) So I then tried using the lookup table instead which holds the field RespOrg also; I used the full [Table name of...
  3. jjlogan

    Specified Field Could Refer to more than one table

    So much fun when have limited time and get these errors. I create an SQL in the Report-Open event. It's a simple Select query with FROM two tables INNER joined and then three other tables in LEFT JOIN. I keep getting the error that "field RespOrg could refer to more than on table in FROM...
  4. jjlogan

    DAO Execute Make Table Query Error if Table Exists

    Thanks MagP for the input. I am currently not able to work the project I talked about, but will try your If table open logic as soon as I can, and will respond. JJL
  5. jjlogan

    DAO Execute Make Table Query Error if Table Exists

    Been working on this problem for a full day. Using Access 2016 with file formats 2003. Database file is on shared department network. I have a form with vba behind that upon clicking Start button, about 30 queries run in sequence saving us about 4-6 hours every time we do a What If (previously...
  6. jjlogan

    DoCmd.RunCommand acCmdCopy

    For some reason, my code below for DoCmd.RunCommand acCmdCopy is not only copying the text box contents into the clipboard but also opening a folder on my network (where I can then Ctrl-Paste into the Search box in the opened folder). I am now trying to change the folder location (new year) but...
  7. jjlogan

    Best training for Advanced Access - online or instructor-led

    Thanks for the practical advise. I will look into the recommendations like for pivots, sql server, etc. Jeff
  8. jjlogan

    Best training for Advanced Access - online or instructor-led

    What I do know is how to design tables and relate them in normal structure rules. Of course, design of all types of queries (select, action), report design, form design, etc. And I write modules in VBA and ADO and DAO. I also do use import/exporting to Excel. But what I don't use much is...
  9. jjlogan

    Best training for Advanced Access - online or instructor-led

    I would like to dedicate some time to learn the advanced features of Access 2010 that I have not had to use in my job of creating a few databases and automating them. I'm sure there are more features I not aware of and want to use company funds this time to advance my knowledge. I have read at...
  10. jjlogan

    Access 2007 to 2010 OrderBy in VBA Not Working

    I will try that, but will have to wait a few days as have other top priority work scheduled. What I see in this problem is that 2010 version is not working the same as 2007 version (which does the sorting). So, your suggestion here may be what 2010 version needs in order to sort. Thanks. I will...
  11. jjlogan

    Access 2007 to 2010 OrderBy in VBA Not Working

    Unfortunately, these changes did not cause the 2010 version of Access to sort. I again went to my 2007 version on another computer and ran the same report in the same Access file on network - and it sorts just fine. [my selected sort was by job code, then by a field for absolute value of line...
  12. jjlogan

    Access 2007 to 2010 OrderBy in VBA Not Working

    A little more clarification, then will show some more code: I can open this Access file (.mdb), which is on our group's network drive, from my computer with Access 2007 and from my new computer with Access 2010. The sorting runs perfectly when I use Access 2007 to open the file, but no sorting...
  13. jjlogan

    Access 2007 to 2010 OrderBy in VBA Not Working

    I created an Access report 4 years ago using Access 2003 that is not bound to a query but using VBA to create SQL record source and also perform sorting - all based on user-selected fields and values they type into my dialog form (e.g. Accounting key contains ....) and Sort By ... (combobox)...
  14. jjlogan

    Run-time error '5' Invalid procedure call or argument

    MajP - Yes finally. Your solution worked. Created clean db, imported objects in (that took a while but allowed me to clean house), then ran the automation and no Error '5'. Thanks, Jeff
  15. jjlogan

    Run-time error '5' Invalid procedure call or argument

    OK and thanks MajP. Will give it a go. Clean db. Jeff
  16. jjlogan

    Run-time error '5' Invalid procedure call or argument

    I suddenly started getting this error message after my database has been used for years. Each year we copy the last mdb file and load the current year's accounting data. The problem is occuring in my user interface form when user clicks a button to run a history report for the natural class that...
  17. jjlogan

    writing an append query that adds numbers to a table

    vba317: Your question raises two issues: First, the records in Access tables do not need to be ordered in tables; any order is fine. When you need to pull record data out (e.g. for forms, reports), you use sorting in either queries or in report design. Secondly, as to "writing an append query,"...
  18. jjlogan

    Object Dependency repeatly prompts for OK to search

    Yes, I will keep your caution in mind, and turn OFF Name Auto Correct. Then when I need to find out what objects are dependent upon what objects, I will use a copy of the production database for that analysis. Also, I will post back if I find further enlightenment on Name Auto Correct solutions...
  19. jjlogan

    Object Dependency repeatly prompts for OK to search

    Problem Solved. Thanks for the feedback KJV. I referred to your Allen Browne reference, and it only referenced Access 2000 through 2003; I am using Access 2007. But it was still informative. Those references state the problems with Name AutoCorrect. I do need Name AutoCorrect turned on because I...
  20. jjlogan

    Object Dependency repeatly prompts for OK to search

    Object Dependency feature used to do automatic refresh when I select a different object to check on. Now, it prompts me each time for OK response and then goes through search routine showing progress bars. My Access 2007 has Options / AutoCorrect Tracking set up. I am working in split database's...

Part and Inventory Search

Back
Top