Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: alr0
  • Content: Threads
  • Order by date
  1. alr0

    Search for the Square Boxes

    Hi All, We have been receiving data for mailing lists in Excel spreadsheets that have a line feed or carriage returns (chr 10 or 13, I believe) When imported into Access the character appears as a square box like many unprintable or foreign characters. I need to alert operators to the presence...
  2. alr0

    Formal Letters with Data Elements

    Hi All, I need to produce professional looking merged letters that are driven by and display data from tables. Some of this is simply conditional formatting but the more complex part is displaying certain records in a one-to-many table that are flagged with a descriptive paragraph. Access...
  3. alr0

    Polished letters with Data Displayed

    Hi All, I need to produce professional looking merged letters that are driven by and display SQL Server data. Some of this is simply conditional formatting but the more complex part is displaying certain records in a one-to-many table that are flagged with a descriptive paragraph. Access...
  4. alr0

    Trying to record user logon

    Hi All, I want to add a field to an Access 03 table that records the user logon that added a record. I thought I had used GetUser in the past but neither the help or knowledge base had that phrase or others I tried. Isn't there an easy way to trap the user logon? Thanks, alr...
  5. alr0

    Code Window Opens With No Error???

    Hi All, I added a new feature to a production application (Access 03). Everything works as expected except, the first time you use it, the code window opens to the "If" staement below. If I hit F5, it runs perfectly. All break points have been cleared yet this continues to happen intermitently...
  6. alr0

    Dcount Syntax for IsNull Criterion???

    Hi All, I have tried: DCount("[searchLname]", "prepsearch", "IsNull([SearchLname])") DCount("[searchLname]", "prepsearch", "[SearchLname]=null") DCount("[searchLname]", "prepsearch", "Len([SearchLname]) < 1") ...as well as several different concatenations. I could not find specific...
  7. alr0

    What's So Bad About Using GoTo

    Hi All, As long as I can remember, GoTo was considered bad coding and was to be avoided. I have used them whenever the circumstances seemed to call for it with no known problems. When stepping through a recordset, once a record has all of the processing needed I may be skipping 20 to 50 lines...
  8. alr0

    Can a Table Field Defaut be set to a form Controls contents

    Hi All, I want to set the default value of a table field to the contents of a form control. I keep getting an error that the form control cannot be found. Is this possible or do I need another way to populate the field. Thanks, alr _____________________________________ There is no rule more...
  9. alr0

    Setting Table Default as form control?

    Hi All, I am trying to set the default value for a table field based on a form field and an auto number field to create a unique ID across all of our work. When I enter the expression: =Right([Form]![frmWkDt]![txtReqNo],10) & [idwo] I get the error message: "Could not fine field...
  10. alr0

    Splitting City, State, and Zip

    Hi All, I am trying to write a city, state, zip splitter. I have a lot of the logic worked out once the field is split but sometimes that are many spaces internally, plus I need to look for commas as separaters also. The code could repeatedly replace double spaces with single spaces or look at...
  11. alr0

    Trapping Windows Error Messages in VBA

    Hi All, I have a complex text reader that uses the File System Object (Access03). There is a custom error tracking system that pinpoints errors with messages that help track down errors. An error came up that stopped execution with no messages. By tracking down the line of code that caused the...
  12. alr0

    Can't display Public Variable

    Hi All, I have an application that does some extensive calculations on open that can take up to 20 minutes for a 2 gig file. Rather than opening the main form, I have created a modular, popup that gives users the choice of a normal opening or to supress the calculations. Things seem to be...
  13. alr0

    Public variable not available in another form

    Hi All I have a form (Access 03) that calculates some statistics in the OnOpen event that can take a long time for large files. I would like to give users the choice of not running these calculations. If the file is over 1 meg a modal popup form with two buttons opens and sets a variable based...
  14. alr0

    Finding a Space with the like operator

    Hi All, I am writing code to split the city, state, and zip line of addresses into different fields. (Access 03) I got stuck on the following line to identify zip codes that are 5 digits and a space followed by 4 digits. (strZp is text to the right of space, valid US state code, and space) If...
  15. alr0

    Overflow Error?

    Hi All, I am trying to gather some stats on the current work being done and have the following statement to get the lowest cliam7 number in the table WkDt. When the assignment statement runs, it errors out with a dialogue box that says,"Overflow". Dim StNo As integer StNo = DMin("claim7"...
  16. alr0

    Mixed Numeric &amp; Text Criteria in DCount???

    Hi All, When I step through the 3 lines of code below the first 2 run fine and make the correct assignment. The third line has a "type mismatch" error. (Third just combines criteria) rsGtoHistory!gtosread = DCount("gtoimportid", "tblgtoimports", ("[gtodateimported] >= #" & dtRunBegin & "#"))...
  17. alr0

    DCount trouble with variable

    Hi All, I am creating a DCount statement with rather complex criteria. (Access03) The simple version below works if I use a hard coded date but I am having trouble using the VBA variable dtDateBegin. DCount("importid", "tblimports", ("dateimported >= #dtDateBegin# ")) DCount("importid"...
  18. alr0

    Run a Series of mdbs automatically

    Happy Friday All, Using Access 03 with Win XP Pro: I have several mdbs that each perform a function. Now that these work I would like to have a master mdb that starts one of these mdbs and when it is finished starts the next one until they have all run. I presume that I will have a form where...
  19. alr0

    Cpu Usage Varies - Is it controllable?

    Hi All, I run some very lengthy reports (Mostly queries) and long operations cycling through upwards of 1 million records. The Task Manager Cpu stat is sometimes pinned at 100%. At other times it stays in a range of 5%-20% or somewhere inbetween, even for the same task on different days. Is...
  20. alr0

    Recordset field reference with variable

    Hi All, I'm sure I did this somewhere in the past but the syntax escapes me. rst!arFields(intFlds) where: rst = recordset arFields = array with field names intFlds = looping integer I tried [] "" & etc. and cannot seem to get the field name recognized. This must be possible right! Any...

Part and Inventory Search

Back
Top