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 SkipVought 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. DavidDrotts

    Code works, but would like advice on how to do it better

    Hi Bob! Thank you...again! I am going to use your suggestion. I didn’t even think about using the DCount function in an If statement, but that is why I love building applications…there is always another way to do what needs to be done. Take Care, David
  2. DavidDrotts

    Code works, but would like advice on how to do it better

    Hi PHV, Thanks for your reply! I fixed my problem; I did not put single quotes around my variable ("'" & [Forms]![AddKid]![last] & "'"). See below… strSQL1 = "SELECT idnumber, last, First FROM Kids WHERE idnumber In (SELECT idnumber FROM Kids As Tmp GROUP BY idnumber HAVING Count(*)>1 ) AND...
  3. DavidDrotts

    Code works, but would like advice on how to do it better

    BSman, Thanks for your reply. In an effort to get a handle on this I am forcing myself to create/execute all of my queries in VBA. I am working on a project that requires the user to input data and assign a user ID so that they can retrieve the data at a later time. To make this even more...
  4. DavidDrotts

    Code works, but would like advice on how to do it better

    Thank you all very much for your inputs. I think it’s interesting that they led me to the one area that I have cringed at learning…using SQL statements (besides the real basic stuff)in my code. When I do projects I find creative ways to avoid using SQL statements. I don’t have a good reason...
  5. DavidDrotts

    Code works, but would like advice on how to do it better

    Crowley16, Thanks for the response! A temporary table wouldn’t work because I need to keep track of the tasks per week. I should have further explained in my post that the Admin form is bound to a table that keeps track of the weekly inputs. For example this shows just the DPC section, there...
  6. DavidDrotts

    Code works, but would like advice on how to do it better

    Hello, I have built a database, Weekly Activity Report (WAR), that keeps track of the workflow in the following five work centers: DPC, DPE, DPF, DPM, and MOF. Updates to the progress of the tasks assigned to each work center must be updated weekly. In order to keep track of which work center...
  7. DavidDrotts

    Code worked, but would like advice for improvement

    Hello, I have built a database, Weekly Activity Report (WAR), that keeps track of the workflow in the following five work centers: DPC, DPE, DPF, DPM, and MOF. Updates to the progress of the tasks assigned to each work center must be updated weekly. In order to keep track of which work center...
  8. DavidDrotts

    Access Working with Outlook

    Jvhazelbaker, I am trying to accomplish the same, and like you, I am having a hard time figuring out what to do. I have tried linking the task folder to my access database, but the only fields I get are the following: % Complete Team Task Start Date Due Date Date Completed Actual Work Total...
  9. DavidDrotts

    Move data from one record field to another record

    Hello! I am trying to build an access database to accomplish the same thing that MS Project accomplishes. My table has the following fields: ID, Task (memo), Start (short-date), Finish (short-date), and Duration (number). Tasks will be inputted by the user; when they input the duration...
  10. DavidDrotts

    Disable Design View Using VBA

    ineedyourhelp, How did creating a custom shortcut menu help? I have the same exact problem you did. Please explain what you did to solve your problem. Thanks in advance! David
  11. DavidDrotts

    Use UserId to login to DB

    Hi Rick, You are right I need to straighten out my terminology. To clarify, “Address” is an unbound control on the sub-form “CPOStatus”, which is on the form “CPOOPRfrm”. The SQL Staement is, as you surmised, in the row source proerty. On db open the splash screen will have the hidden...
  12. DavidDrotts

    Use UserId to login to DB

    My apologizes, I didn’t expound upon the field enough and mistakenly called it a text box. In fact, it is a list box and the SQL statement that is firing comes from the row source of this field. This one statement cause three “Enter parameter value" prompts, and it looks like this… First...
  13. DavidDrotts

    Use UserId to login to DB

    When I open my form normally everything works fine. It is only when the form is opened via VBA do I get the “Enter parameter value" This is the query that it is firing on… SELECT DISTINCT CPOemail.[Supervisors Email], CPOOPR2qry.OPR, CPOemail.Last FROM CPOemail INNER JOIN CPOOPR2qry ON...
  14. DavidDrotts

    Use UserId to login to DB

    Hi Rick, I guess you can say I am struggling, but I am having a blast along the way. I came up with the following solution to passing the Form name to the docmd.formopen. It’s not very inventive and I am having problems with my stLinkCriteria statement, I keep getting “Enter parameter value"...
  15. DavidDrotts

    Use UserId to login to DB

    Hi Rick, Feeling a little stupid here… I have never played with the Dlookup function before ( I have only been building applications for 4 months and my knowledge comes from interlibrary loan books!) so I didn’t even think of going down that road. Thanks for pointing it out! BUT…I am still...
  16. DavidDrotts

    Use UserId to login to DB

    Hi Rick, Security isn't a great concern. The information isn't sensitive and the only reason why I am going this route is that I am trying to avoid a complicated switchboard process that directs the right user to the right form. Thanks for your post! David
  17. DavidDrotts

    Use UserId to login to DB

    I am building a database to track a process that requires three levels of participation, the imputer, work center manager, and one office manager (i.e. imputer inputs data…manager approves input and sends to office manager for final approval) The office manager is responsible for 6 work...

Part and Inventory Search

Back
Top