Recent content by mcescher

  1. M

    Ways to read a recordset

    Thank you both. This specific example was just a single record, but I get pulling all the records at once. Just didn't want to pull the entire table when I just need a single record. Oh the trials of renovating old code... hehehe Thanks to Paul also for answering the EOF/RecordCount question.
  2. M

    Ways to read a recordset

    Working on updating some old code, and I've come across some code that I'm wondering if it would be better to update, or does it matter? I need to grab some information from a table, so the first example (old) set the recordset to the table and then uses the "FindFirst" method with some...
  3. M

    VBE Plugins

    OK, cool, I had only seen the information about the add-in he was selling. I'll check it out, thanks a bunch!
  4. M

    VBE Plugins

    That's a nice tool, but I'd like to create something like that. Is there any documentation on how to make one?
  5. M

    VBE Plugins

    Hey All, Wondering if anyone has written a VBE plugin for the editor. I'm not looking for an Access plugin, but a tool that helps on the code editor side. I've tried searching, but all my Google searches have yielded are instructions for Access plugins. I've got VS 15, and a few ideas of what...
  6. M

    Me.Refresh causes error

    Yup, know all that. This is a disconnected recordset, and not storing the values. Just a simple calculator for the user to know how much material to order. They take that and make choices in another form. Thanks, Chris
  7. M

    Me.Refresh causes error

    Found it... Sometimes it's the silly mistakes. While I was clicking in the Properties window in Access to add the "_AfterUpdate" link, I accidentally hit Ctrl V in that box. So instead of "[Event Procedure]" It said "Me.Refresh[Event Procedure]" And Access didn't like that...
  8. M

    Me.Refresh causes error

    Hi All, Kind of a strange question. I have a form with 10 text boxes that the user will fill in and the last two will do calculations based on the information that they entered. So, I've added code like this for each of the entry text boxes Private Sub txtField1_AfterUpdate() Me.Refresh...
  9. M

    Cutting Optimizer

    I was mistaken on my note about that library. Should be 1D and 2D, setting up beam material and how to cut that, and also flat sheet material. Note, it even allows you to set the saw kerf and uses that in the calculation.
  10. M

    Cutting Optimizer

    Had a similar project, and found a DLL online to do all the heavy lifting CutGLib.dll https://www.optimalon.com/cutting_optimization_library.htm There is some cost to it, but I don't think it was too expensive. Will do both 2D and 3D optimization.
  11. M

    Tabs Hiding on Tab Control

    UPDATE I noticed that clicking around on the form on other controls would make the tabs visible again. SO, in the AfterUpdate event of the tab control, set the focus to another text box and then set it back to my tab control. Not the most elegant solution, and certainly only treating the...
  12. M

    Tabs Hiding on Tab Control

    No code behind, already checked for that in the entire db.
  13. M

    Tabs Hiding on Tab Control

    Hi All, Can't find a solution on Google or here, so hoping someone smarter than I can produce the answer.:D Tab control on a form has two tabs, everything is happy. Added a third tab in the middle of the current two, and it is hiding all the tabs if I click on it first. In the attached...
  14. M

    Make a text box appear on some records but not all.

    Private Sub Part_Number_AfterUpdate() If Account_Ref = "ARB20" Then Part_Number_2.Visible = MsgBox("Do you need to enter another part number?", vbYesNo, "Another Part Number?") = vbNo End If End Sub Private Sub Part_Number_2_AfterUpdate() If Account_Ref = "ARB20" Then...
  15. M

    HTML Tags in report

    Here is a list of supported HTML tags: <div>,<font>,<strong>,<em>,<u>,<ol>,<ul>,<li>,<blockquote> And, styles/attributes per tag: <font>: face, size, color, style(with BACKGROUND-COLOR only) <div>: align, dir
Top Bottom