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: *

  1. lwilly

    Connection open statement not working

    Sorry, I did not get Remou first post but you are both correct. Thank you
  2. lwilly

    Connection open statement not working

    Set statement is the third line and space does not seem to make a difference. When code runs it runs through the connection open and then loops back up to where the sql statement is created.
  3. lwilly

    Connection open statement not working

    I have a select statement that I am trying to open but it never makes it past the recordset open command. Here is the function that is causing me grief. Public Function DeptTimes() Dim rst As ADODB.Recordset Dim cnn As ADODB.Connection Set rst = New ADODB.Recordset Dim strSQL...
  4. lwilly

    Crystal PrintOut Method

    You should be able to stop prompting the user by simply using reportname.printout False
  5. lwilly

    How can I sort all band levels in an MSHFLEXGRID

    I have a grid with multiple bands that need to be sorted. When using rs.sort it is only sorting band 0 and I need to apply the same sort on all bands.
  6. lwilly

    How do I round a number to five?

    Thank you both for the quick replies, I have been scratching around trying to get this and all along it was because my field was an int so it was always rounding down. Thanks again!
  7. lwilly

    How do I round a number to five?

    Could someone give me an idea of how I can round numbers to the nearest five in a select statement? Thank you, Any help would be appreciated.
  8. lwilly

    ERROR: Collation conflict error for concatenation operation

    Thanks for the response. The period is included in the path variable and CO_NUMBER is alpha numeric. Any other thoughts would be appreciated.
  9. lwilly

    ERROR: Collation conflict error for concatenation operation

    Another clue in this puzzle is that when I replace CO_LN_NO with "001" it works fine.
  10. lwilly

    ERROR: Collation conflict error for concatenation operation

    I have already tried using a one long string with no sucess and I believe the last "&" is need to concatenate the closing ".
  11. lwilly

    ERROR: Collation conflict error for concatenation operation

    This is my sql statement: stsql = "SELECT CO_NUMBER as CoNumber,CO_LN_NO as Line,COMP_WC as Parent,COMP_WC as Item, " & _ "ITEM_DESC as ItemDesc,QUANTITY as AuthorizedQuantity, COMP_PRICE as ListPrice, QUANTITY as OriginalQuantity FROM " & strKnzFSDataSQLPath & "FSExtract_HCPCFG WHERE CO_NUMBER...
  12. lwilly

    Subscript out of range error

    Thank you both for the quick response. Took you advice and replaced my code with the Replace() function and of course it works like a charm. Thanks again
  13. lwilly

    Subscript out of range error

    I am using this code to find line breaks in a string of text retrieved from our ERP system and replacing it with a carriage return on my report. Dim strNotes As String Dim strFormatNotes As String Dim intEnterPos As Integer Dim i As Integer strNotes = Me.COLIN_XTXT ReDim strTemp(0) As...
  14. lwilly

    sql statement not working in code, will work when in query

    Thanks for the quick response. Your response was correct and I appreciate you pointing out the errors of my ways.
  15. lwilly

    sql statement not working in code, will work when in query

    I have this sql statement in a module strSQL = &quot;SELECT SUM (IVC_QTY * InvoiceUnitPrice)AS Sales&quot; strSQL = strSQL & &quot; FROM tblSalesDbMaster&quot; strSQL = strSQL & &quot; WHERE IVC_DATE >= &quot; & dteBegin strSQL = strSQL & &quot; AND IVC_DATE <= &quot; & dteEnd Set rst =...
  16. lwilly

    Outlook2000 will not close

    I have a user with Outlook 2000 client (with SR-1 (9.0.0.4201) and the security update installed) that also hangs on exit. We are using Windows 98 SE on the front end. On the back end it is a Microsoft Exchange Server Version 5.5 Build 2653.23 Service Pack 4 running on a NT 4.0 server with...
  17. lwilly

    How can I select all text in textbox in after update event

    Thanks for the response. I have played with those functions but was unable to make them work.
  18. lwilly

    How can I select all text in textbox in after update event

    I have a form that users enter order numbers in to find them. This form has only one field that the user can enter into. I would like to make it select everything in the field after the user enters the search criteria. I have tried setting the focus on this field and have also tried doing a...
  19. lwilly

    Cannot send snapshot file via e-mail, why?

    Chris, I would be interested in the app you mentioned. Please e-mail to lwilliams@norwood.com
  20. lwilly

    Cannot send snapshot file via e-mail, why?

    Still nothing, I believe there is something in this database that will not allow this. I have other Access databases that I have no trouble with. Thanks for your help.

Part and Inventory Search

Back
Top