Search results

  1. V

    Navigation control: access text box from a query.

    Unfortunately my laptop that has Access 2010 on it died today so I'm fixing it at the moment and won't be able to test what I'm about to give you. But you can try: [Forms]![masNavigazione]![NavigationSubform]![SubformControlName]![txtDataInizio] ... amend the bit in blue. But make sure it's the...
  2. V

    Run-time Error '-2147352567 (80020009)' When I Select 1st Record In Subform, Access 2

    Before I even look at any code, can you first tell us what the error message is? Not just the error code.
  3. V

    Prevent Cut functionality within Unbound Combobox

    I only said that in jest, hence the wink ;). Strange occurence. I would hope that DoEvents would cure the problem but it's not an ideal piece of code for this scenario.
  4. V

    MsCal AfterUpdate

    I'm not questioning your code or your use of implicit type conversions. The variable declaration was DateTime which isn't a datatype in VBA, the equivalent is Date. And the type conversion functions used were Date(), but then again the VBA equivalent is CDate() or DateValue(). Also, for a...
  5. V

    Get Window Text

    The answer is here...
  6. V

    Autofill Form base on first and last name

    Since you know how to do it for a combo box, you could start with that code. There's no difference between the search functionality between when a combo box is used and when a textbox is used.
  7. V

    find last value in the last field (column) of a record

    Or Max in a Totals Query grouped by the relevant fields.
  8. V

    Set combobox to blank

    The code that Ranman256 does exactly what you're after. Private Sub cboSalesquote_AfterUpdate() With Me .Filter = "[Salesquote] = " & .cboSalesquote .FilterOn = True .cboSalesquote = Null End With End Sub ... I don't know why you decided to turn off the filter...
  9. V

    Prevent Cut functionality within Unbound Combobox

    Perhaps your PC is too powerful in that the cut wants to happen quicker than the VBA validation ;) Try breaking it down: If Shift = Access.acCtrlMask Then If KeyCode = vbKeyX Then KeyCode = 0 ElseIf KeyCode = vbKeyC Then KeyCode = 0 ElseIf...
  10. V

    conditional format one field to alter a second field

    You can do it in the Control Source of whichever textbox you choose to be the only date textbox, or do it in the record source (i.e. query) of the form: Nz([Date1Field], [Date2Field])
  11. V

    MsCal AfterUpdate

    Amending Dennis' code to be more VBA friendly ;) AfterUpdate or Change event ?? If Me!acxCal.Value = Date Then Me.btnToday.Enabled = False Else Me.btnToday.Enabled = True End If
  12. V

    Email using user selected HTML Template with optional report as attachment

    I would expect the newly created item to be a copy of the template and any changes made to it shouldn't affect the template. Can you show the full code you used to change the Body of the template?
  13. V

    Full info for all property options of any form control

    Sorry, just going through some old posts and came across this one. I agree with GohDiamond! The other way to get the properties, methods and events of a control is to hit F2, type "Textbox", under the Class column select the row that has "Textbox", look at the frame just below the Search...
  14. V

    Form Totals..

    I was going through some old posts and was surprised to find your questions unanswered. =Sum([Invoice Amount]) / Sum([Quantity]) =[Text114] * [Other box] ... I have no idea what other box you're referring to hence [Other box]
  15. V

    Is file open?

    ted.martin, I only use that method for text file types not for pdfs. What's your objective?
  16. V

    Long shot....

    Maybe you can explain the objective and we can give you some ideas?
  17. V

    Image in output to Word Document

    Why don't you ask, "any other ideas" rather than "anyone else". And if something doesn't work, explain exactly what you tried and what the outcome was.
  18. V

    Problem Summing a Calculated Field in a Report

    It was only a matter of using "*" instead of "x". The square brackets weren't needed in this case.
  19. V

    Create hyperlink to open Access form

    Looks like mlai08 wasn't thinking out of the box when s/he read my post so I'll expand a little. * User1 on FE1 wishes to send an e-mail with a hyperlink to User2 * FE1 sends a "hyperlink" creation request to delegate db (DbDelegate). The request contains the form name and the unique ID *...
  20. V

    Quarterly Reports

    Not sure why you're quoting yourself in your first post burrina, but it's not completely clear (to me) what you're trying to do. If you want to add quarters to a date you can use the DateAdd() function.
Back
Top Bottom