Search results

  1. Frothingslosh

    evaluate multiple records as a group

    You'll need to create a function that accepts a marker value, pulls the value for each allele, and goes through that recordset and eventually returns yes or no based on your criteria. The easiest way would probably just be to pull up any records with value greater than 1000, and return yes if...
  2. Frothingslosh

    Update query to remove leading and trailing spaces from all columns throughout table

    You absolutely can do the whole list in one shot, as plog pointed out. There's absolutely no need to type out every individual name. UPDATE TableName SET FieldName = Trim([FieldName]), FieldName2 = Trim([FieldName2]); Just be DAMNED sure you use the same field name on both sides of each...
  3. Frothingslosh

    Is Access the best way to go about this project?

    Welcome to my life. IT has a 'No Access ever under any circumstances' rule for everything it does. All the assorted departments, on the other hand, keep dedicated Access developers on-hand for all the department-level Access applications. And we are not a 'small business' in any sense of the...
  4. Frothingslosh

    How to invoke password check on Shift/Open DB

    If you have a user-level security system built in, you can use the AutoKeys macro to run code that toggles the NavPane if the user is a developer, and cancels the F11 if they aren't.
  5. Frothingslosh

    Login Form

    I've seen them online in a number of places, so I can't attribute them. One location you can pull them from is https://en.wikibooks.org/wiki/Visual_Basic_for_Applications/String_Hashing_in_VBA. I'm providing the link instead of just copying and pasting the code because there's other useful...
  6. Frothingslosh

    Forms on Back End?

    You're not deleting them. You're moving them into the front end, that's all. Just keep a backup copy someplace, and update it as you update your app. It's just as accurate to say you're deleting the tables and creating them in a new file as it is to say you're deleting the forms. The reality...
  7. Frothingslosh

    NZ Function Undefined (under certain conditions)

    I should have been clearer. What, if anything, do you have the application run (via the AutoExec macro) when you start the application normally? Although the fact that you get different reference library locations if you load directly rather than if you load Access, then open the app seems a...
  8. Frothingslosh

    NZ Function Undefined (under certain conditions)

    Out of curiosity, what, if anything, do you have running at startup?
  9. Frothingslosh

    Access front makes Sql server backend suspended

    Yep, what he said. Your DBA has tools available to tell him what the process is waiting for, what is blocking it (if anything is), etc. Him telling you 'your application is suspending and locking the server' is much like a doctor telling you 'Yep, you're sick.'. If you know which queries this...
  10. Frothingslosh

    BeforeUpdate Cancel Not Returning to OldValue

    Curses, beaten again!!!
  11. Frothingslosh

    BeforeUpdate Cancel Not Returning to OldValue

    Cancel simply cancels the event that was triggered. To undo the change that was done, you need to use the Undo event: txtStartDate.Undo
  12. Frothingslosh

    Delete query wont execute

    I've never considered bundling it all into an execute query function - whenever I've had to run a query with form references built into it, I've just added this part to the code (with appropriate declarations up top) For Each prm In qdf.Parameters prm.Value = Eval(prm.Name) Next qdf.Execute...
  13. Frothingslosh

    Adventures in Cable Cutting

    The net neutrality repeal doesn't result in Netflix raising prices - it results in carriers deliberately blocking or slowing access to competitors and political opponents, and to internet plans that look like this:
  14. Frothingslosh

    Adventures in Cable Cutting

    Or you could do what I did and give up TV entirely. That's what I did back in 95. Even then, the TV news seemed to be only about body counts and disasters (and their body counts). The important stuff I could get online even then, and the shows available weren't enough to keep my attention on...
  15. Frothingslosh

    record records

    https://www.youtube.com/watch?v=a1Y73sPHKxw
  16. Frothingslosh

    E-cigarettes

    Hopefully they won't kill you they way they did my father. He spent six months gasping for air due to his inoperable lung cancer, then one night drowned in his own blood. I've had two grandparents die of lung cancer as well, both, like my father, life-long smokers. Possibly three, but I was...
  17. Frothingslosh

    Opposite sql of innerj join

    OR in JOIN clauses are perfectly valid, although it's far more common to see in a WHERE clause. It's most commonly done when you want to restrict the records being pulled in to the temporary table being created behind the scenes, as opposed to after the table is created. In theory, OR in the...
  18. Frothingslosh

    Relate one field to multiple fields

    If you look closely, it also gives an example of aliasing. That's something you don't usually have to deal with in Access, since most queries are handled through the QBE grid, but if you ever start working with SQL Server, it's a godsend.
  19. Frothingslosh

    Relate one field to multiple fields

    You know, that is an amazing graphic to have when explaining joins. I'm totally ganking that thing.
Back
Top Bottom