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 SkipVought 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: BV874
  • Order by date
  1. BV874

    Extra line breaks in e-mail when string is over 120 characters

    I switched to .htmlbody and used "<br>" instead of the vb line breaks and it worked. Thank you both for your assistance.
  2. BV874

    Extra line breaks in e-mail when string is over 120 characters

    olFormatRichText and the Outlook option did not work. My longest line is 164 characters. I'm going to try .htmlbody instead of .body to see if works better in that format. Thanks.
  3. BV874

    Extra line breaks in e-mail when string is over 120 characters

    Hi MakeItSo, I do get the line breaks, but there is an extra break that appears in the e-mail on long text. When I select it to manually delete it is not there. I think it may be a 1.5 line spacing issue, but it only appears on the long text. See below for an example: Dear Test Account, Here...
  4. BV874

    Extra line breaks in e-mail when string is over 120 characters

    Hi, I have the following code that creates an e-mail from a query if multiple parameters on a form are met. When the email is created the information from the recordset is listed line by line. If the EmailText string is over 120 characters it creates an extra line break. I have tried vbnewline...
  5. BV874

    Calculate the Difference Between Multiple Rows Stored in the Same Column

    Golom, I tried the code and it is returning no results. Thanks.
  6. BV874

    Calculate the Difference Between Multiple Rows Stored in the Same Column

    I think what I need to do is find a way to number my query results. (1,2,3,4..) so I can inner join them in each table along with CUS_NUM. First Query: SELECT CHECK_REGISTER.CUS_NUM, CHECK_REGISTER.TRAN_DATE INTO TEMP_MISSEDPAY01 FROM CHECK_REGISTER ORDER BY CHECK_REGISTER.TRAN_DATE; Second...
  7. BV874

    Calculate the Difference Between Multiple Rows Stored in the Same Column

    I just tried making a temp table of all transactions. Then a second temp table with the min TRAN_DATE grouped by customer. I then deleted the min transactions from the first temp table using a delete distinctrow query. I then linked the original table CHECK_REGISTER with the revised temp table...
  8. BV874

    Calculate the Difference Between Multiple Rows Stored in the Same Column

    I tried AdjDate: DateAdd("m",1,[TRAN_DATE]) and then took the difference between TRAN_DATE and AdjDate but then realized it would not work because of payments on different days, missed payments, and I was going in the wrong direction. I have been unable to come up with a method since. Any...
  9. BV874

    Calculate the Difference Between Multiple Rows Stored in the Same Column

    Hello, I am trying to create a query on a payment history table that shows the time in between payments to locate missed payments. Each customer is required to make a payment each month. Each payment is stored in a row in the table [CHECK_REGISTER]. I need to group the query by [CUS_NUM], and...
  10. BV874

    Compile Error in VB Select Query

    Hello Everyone, I am receiving a compile error on the following code for method or data member not found. Any help would be greatly appreciated. Thanks! Dim Mysql As String Dim RS As Recordset Mysql = "Select [CountOfCUS_NUM] from [tblUploadDuplicates]" RS.Open Mysql, CurrentProject.Connection...
  11. BV874

    Runtime Error 2465

    Thank you PHV, you are absolutely right! I had to change it to the unload event.
  12. BV874

    Runtime Error 2465

    My control source was CASE_NO and my field name was CASE NO so I entered it incorrectly. Thank you for your help!
  13. BV874

    Runtime Error 2465

    My mistake,it reads the following. If Me.STATUS = "IN HCO" And IsNull(Me.[CASE NO]) Then
  14. BV874

    Runtime Error 2465

    Thanks for correcting that for me. I tried it and got the same error though. The sql now reads: If Me.STATUS = "IN HCO" And IsNull([Me.CASE NO]) Then Thanks.
  15. BV874

    Runtime Error 2465

    Hi, I have a form that is running the following on close event when I get the runtime error 2465 for cannot find the field. Here is the code I have: Private Sub Form_Close() If Me.STATUS = "COMPLETE" And Me.[CASE NO] Is Null Then MsgBox "CASE NO IS REQUIRED IF THE ACCOUNT IS COMPLETE"...
  16. BV874

    Operation must use an updateable query Error

    I figured it out. it was the "write" option on the security for certain user groups in explorer.
  17. BV874

    Operation must use an updateable query Error

    I have a query that captures the userid when then enter a form in Access 2003 and appends that into a logon table so i can see who logs on and when they leave as well. One user gets the "operation must use an updateable query error" error when he opens the DB. I coulbn't find an answer to why...
  18. BV874

    Compile Error on Module Function

    Thanks PHV! That worked perfectly!

Part and Inventory Search

Back
Top