Search results

  1. Minty

    Getting an error 3825, complaining about multi-valued fields, but none are involved.

    If any of the destination and source tables have an Identity (Autonumber) field it would fail, however I would expect it to tell you that as the error message, not one about MV fields?
  2. Minty

    Advice on how to improve query efficiency when Filtering on nvarchar(4000)

    If the fields being updated are indexed then the index also needs updating, which when it involves millions of records can take a considerable amount of extra time. When doing enormous updates it can be beneficial to drop, update, and then recreate the indexes.
  3. Minty

    Solved Date is displaying odd behavior

    If you simply set the control default value to Date it will only apply to new records, unless there is something more complicated going on here.
  4. Minty

    Solved Date is displaying odd behavior

    Try the following Forms!Form0_AddEditJob!TBOX_DateInitial.DefaultValue = "= Date() "
  5. Minty

    Solved Action Query Parameter Numerical Comparissons In VBA

    If you are doing this dynamically on a continuous form (e.g. up/down arrows for example), you only ever need to move the item up or down one position, so you only need to adjust the previous or next item in the list and replace their sort order with the original. It makes it much simpler.
  6. Minty

    Solved Action Query Parameter Numerical Comparissons In VBA

    You can use a "empty" parameter query and simply define the SQL as you go. No need to hard code it. You could in fact store the SQL strings in a table and use string manipulation to replace holders for the criteria operators? That would make the queries themselves data driven. Whether it is...
  7. Minty

    Solved Action Query Parameter Numerical Comparissons In VBA

    No you can't. Consider this SELECT Blobby From TABLE1 Where CNum > [@YourParameterValue] Against SELECT Blobby From TABLE1 Where CNum "> [@YourParameterValue]" Can you see why it won't work? It doesn't understand the second one, as it's not a valid SQL statement.
  8. Minty

    Solved Action Query Parameter Numerical Comparissons In VBA

    Your query def should be > [SortOrderCriteria] You can't bodge the ">" into the parameter - it's declared as a long, and wouldn't work as a string. So in the query simply place the > in front of the parameter holder and save it.
  9. Minty

    Calculated Field Error

    It can be very useful for simple things to avoid creating them in a query. One of the best examples would be concatenating FirstName and LastName fields into a calculated FullName field , also Initials , as they are frequently used.
  10. Minty

    Error 3828 when exporting queries to Excel

    In your source queries try the following Eval([Forms]![PowerBI_Export_Pop_Up_Form]![Text2]) and see if they suddenly work.
  11. Minty

    Solved How to handle ' in sql string

    The parameterised query is by far the best way to handle potential character issues. Imagine passing in a password - something like d£t%"_ u|?''p5= The parameterised query handles it seamlessly. Replacing things would almost certainly fail to handle this in most cases, and obscures what is...
  12. Minty

    Why does one formula work, but another very similar one doesn't?

    I have assumed it's an Excel Table not a linked table, and I'm sure the same applies when using formulas. There is no such thing as a Null value as far as Excel formulas are concerned. It doesn't have an intrinsic IsNull formula operator. A null cell may have a formula in it bizzarely...More...
  13. Minty

    Solved popup & modal

    You must set the form border style to dialog, not NONE.
  14. Minty

    Why does one formula work, but another very similar one doesn't?

    @Pat Hartman - In an Excel cell formula there is no NULL only ever "" when a cell is empty.
  15. Minty

    Solved popup & modal

    2. Set the border style to Dialog. Open it as acDialog , set control box to no, close button to no. Remove the caption.
  16. Minty

    Access instance remains in memory once closed

    Just to confuse or conflate matters, I had this happen to me ages ago, on Windows 10 - A rogue Access process left behind, after closing a database either manually or in code. I never got to the bottom of it (tried office repair, remove and reinstall etc. etc. ). I only made it go away when I...
  17. Minty

    Solved Error about assigning Null value when clicking away from deleted form field

    Because the backend is SQL server and your Server table field didn't allow nulls, Access doesn't know about that until it's too late. Table level validation is a pain to use with anything other than an Access table, as Access doesn't apply the rules, the server does. Table level constraints...
  18. Minty

    Re-design a wellworking data base

    You could host the BE Database in Azure SQL Server and maintain your current front end Access application, with suitable modification to allow for the performance difference between the WAN environment and the current LAN set up. I suspect you would need to move quite a lot of the processing...
  19. Minty

    Solved Run Dos Command in VBA

    Not in my experience, it's effectively the same storage, just without the "active" file syncing. It's a good place to distribute a FE from and an awful place to store a BE.
  20. Minty

    Late Stage Capitalism?

    I used to sell car audio equipment - so would happily go down this route, but in my car there is nowhere to fit anything aftermarket. It doesn't have a slot for a radio. It has an 11 speaker active system as standard, digital time correction for the offset left/right stereo balance and you can...
Back
Top Bottom