Search results

  1. DHookom

    need very basic help due to aging and not working

    Can you open the mdb files?
  2. DHookom

    Adding days to Now() but with specific times

    I would use a data driven solution (maybe a couple lines of code) where the number per day and times are stored in related tables. A plan with twice a day at 8 AM and 8 PM become a record in tblMedPlans with two related records in tblMedPlanTimes with TimeOfDay of 8:00 and 20:00. There is also a...
  3. DHookom

    Solved Subform adding blank record

    As long as the subform allows additions 😉
  4. DHookom

    Solved Subform adding blank record

    Can we assume you aren’t referring to the line at the bottom that displays default values but isn’t a new record until you modify any field in the bottom line?
  5. DHookom

    Solved-Trying to Delete empty records!

    Yes, it was #9 which I wrongly assumed was the table datasheet rather than the datasheet of June7 query recommendation.
  6. DHookom

    Solved-Trying to Delete empty records!

    So the fields actually are numeric and store 0s. Zeros are values, not blanks and the should not be compared to a string.
  7. DHookom

    Solved syntax error (comma) in query expression

    If the salary is numeric, remove the quotes from around the amount. I would also delete the inner ()s.
  8. DHookom

    Solved-Trying to Delete empty records!

    I would set the Where clause to; WHERE Trim(fld1 & fld2 & fld3 & fld4 &"")=""
  9. DHookom

    Support for Forms and Reports on Large Monitors has appeared on the Access Roadmap

    I recall a support call from client at least 20 years ago with a larger monitor. I had code that automatically set a subform width based on the main form’s InsideWidth. I had to modify the code to accommodate the issue.
  10. DHookom

    Auto complete

    Is this a standard text box? Is there code in your form that provides the autocomplete functionality? Is your directory/folder trusted?
  11. DHookom

    Solved Transform Columns in multiple rows

    I agree with June7. I started writing the code on the form to modify the SQL and then realized it wasn't necessary if the expressions and a data value were changed. LeoM, your VBA hard codes in the values of Owner, StartDate, and EndDate while also locking in the number or heading groups to 3...
  12. DHookom

    Solved Transform Columns in multiple rows

    If you use my recommended solution, you can change the crosstab column expression to: Expr1: [Seq] & "-" & [CrosstabHeading] which will group the dates and owner columns together for each "event". To make it even better, change the value of Start Date in the crosstab heading table to Begin Date...
  13. DHookom

    Solved Transform Columns in multiple rows

    You could take my solution and add "Owner" as the third record. Then make sure the OWNER field is in qselSubSystems. Change the SQL of the crosstab to: TRANSFORM Min(Switch([CrosstabHeading]="Start Date",[STARTING_DATE],[CrosstabHeading]="End Date",[ENDING_DATE],1,[OWNER])) AS Expr2 SELECT...
  14. DHookom

    Solved Transform Columns in multiple rows

    You can get rid of the Column Headings property values. It was there as a hard limit and also sets the column order. I think the subform will display any number of columns up to Access limits.
  15. DHookom

    Solved Transform Columns in multiple rows

    You can create a crosstab with pairs of values (Start and End) by creating a headings table [tblCrosstabHeadings] and adding to values I use a ranking/sequence query [qseqSubststmes] to generate the 1,2,3,... SELECT tblLeoM.Subsystem, tblLeoM.STARTING_DATE, tblLeoM.ENDING_DATE...
  16. DHookom

    Solved Access Database Locking Issue

    I don’t believe you have ever stated where you are creating the file? From your permission screenshot, I would expect to see full control.
  17. DHookom

    Problem to run Access database

    I would create normalized tables where each response to a question created a record in a table. An unbounded form would present the group of four questions to be answered. Add a command button that checks the math requirements and appends (or updates) the appropriate four records in the...
  18. DHookom

    Why messagebox appears then closes on successful run of DoCmd.OutputTo....pdf

    There is a reporting process in the Northwind Developers template that does the same.
  19. DHookom

    Why messagebox appears then closes on successful run of DoCmd.OutputTo....pdf

    I believe it is just a message stating the report is being run/saved. I’m not aware of a solution for hiding it. Are you concerned something is wrong?
  20. DHookom

    If Statement with multiple condition

    There is sufficient complexity that I would create a small user defined function that has the three fields as arguments and returns a string. You can add comments and use the function anywhere that you would have used the complex expression.
Back
Top Bottom