Search results

  1. T

    Data mismatch

    Adding to TheDocMan: just this morning I got this same error, and the problem was my field was a Long Integer, and the value was greater than the max long integer of 2 billion and change. I could have changed it to Big Integer, but in this case chose a Short Text data type. BTW, what you set...
  2. T

    Keeping track of timing

    An integer field would be good to store 32K minutes, which is about 533 hours or 22 days.
  3. T

    Solved DCOUNT

    You're providing very little information, so we only have wild guesses available as to what you want. Maybe this, using the Northwind 2.3 OrderDetails table: SELECT OrderDetails.OrderDetailID, OrderDetails.OrderID, OrderDetails.ProductID, DCount("*","OrderDetails","ProductID=" &...
  4. T

    Solved Connecting sums from order detail to order list

    The Northwind 2 Templates show you how to create an OrderList with the OrderTotal amount in it:
  5. T

    Setting ODBC in VBA Code

    One option is J Street Access Relinker: https://jstreettech.com/developer-downloads/
  6. T

    Issue with migration to SQL Server and .Addnew

    You can do without your home-grown history table altogether and use SQL Server's built-in feature. I typically use a sproc to insert data and return the inserted record.
  7. T

    Setting ODBC in VBA Code

    I'm assuming you have re-link code in your startup code, which would set the (possibly new) connection string of all linked tables. It needs to do that for PT queries as well. They also have a Connect property.
  8. T

    Is it possible replace the value with regex in batch?

    While you can FIND records using a wildcard, you cannot REPLACE using a wildcard. Find: ####* (then repeat for 5, 6, etc. digits) To do a find and replace, RegEx code would be most efficient, but not super easy for a rookie. RegExp is in "Microsoft VBScript Regular Expressions 5.5" library...
  9. T

    The bits you can't live without

    https://techcommunity.microsoft.com/t5/windows-it-pro-blog/vbscript-deprecation-timelines-and-next-steps/ba-p/4148301 Let MSFT know how you feel. I am not aware of a good replacement for the regex features of VBScript. Possibly a .NET component, possibly written using TwinBasic.
  10. T

    The bits you can't live without

    Outlook Redemption for sending emails without Outlook security prompt.
  11. T

    Unique "ID" problem in Append Query

    Add another column, to indicate if the data came from tableA or tableB.
  12. T

    Solved How to use MS Access Messages Properly

    I think @gemma skipped over the part where you need to parse the json. Jack Leach has the right idea here: Parsing JSON with VBA - Dymeng and he explains why.
  13. T

    Problem with trying to open a URL and login automatically

    MSFT is trying to phase out Internet Explorer. I would not use it for new development.
  14. T

    Error when opening Access Report

    Is there any macro or vba code in that report? Do you have code anywhere that may change the query used as the RecordSource for this report?
  15. T

    Hide System Tables When Connecting To SQL Server

    Hi KitaYama, I presume he means code like this: public function RunAnyActionQuery(byval sql as string) dim qd as dao.querydef set qd = currentdb.querydefs("qryBucket") qd.sql = sql qd.execute dbFailOnError RunAnyActionQuery = qd.RecordsAffected end function public function...
  16. T

    remove extra spaces between words

    Why are you looking for < and >; those characters do not occur in FN and LN. Show us the data you are really working with, and what you want it to become after processing. Piling on: "it doesn't work" is not helpful.
  17. T

    Solved Relations between products : Similar Products.

    "Similar"? Similar by what? Because one or more attributes (there is that word again) are the same or in the same range? Example: Apple and Orange are similar because they are both Edible=True, Weight between 30 and 50, Diameter between 3 and 5, etc. but they are also dissimilar with other...
  18. T

    The Epson TM-U220 Cutter printer tags

    You need to get the programming documentation for your printer. My guess is you need to send it a few special characters to make it cut.
  19. T

    Extract postal addresses from pdf mailing labels into DB

    Those addresses all are close to me. One is only 1 zipcode over. Maybe we should have coffee sometime. The Locale Names as used by USPS can be downloaded here: ZIP Codes by Area and District codes | PostalPro (usps.com) That would be a good way to identify for example "sun city west" as a...
  20. T

    Resizing Access Window to fit the size of the Form inside window

    There is a tad more to it than that, considering the user can move the login form, and the main window needs to remain underneath.
Back
Top Bottom