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. LostInCode

    Syntax Error in FROM Clause

    Maybe the spaces and not length? It works for me as you show. try to use the short name Private Declare Function GetShortPathName Lib "kernel32" Alias "GetShortPathNameA" (ByVal lpszLongPath As String, ByVal lpszShortPath As String, ByVal cchBuffer As Long) As Long Public Function...
  2. LostInCode

    ADO filter ‘fails’ using array of bookmarks

    Good. But a rs copy is easy to work with. I post some code so you can see: Public Function CopyRS(rstOrig As ADODB.Recordset) As ADODB.Recordset Dim rstCopy As ADODB.Recordset 'Not updatable to db - no connection Dim fld As ADODB.Field Set rstCopy = New ADODB.Recordset...
  3. LostInCode

    ADO filter ‘fails’ using array of bookmarks

    But the recordset should still show only the filtered records -just not the grid So, you can easily create recordset from this. Make new recordset objekt, append fields by looping through the original fields collection, then just loop through the filtered data and add that to the new recordset -...
  4. LostInCode

    ADO filter ‘fails’ using array of bookmarks

    >I think that is not the purpose of filtering with array of bookmarks I understood the problem because of my own experience to have to do with bound control such as the datagrid. So I understood this is what you mean by not seeing the records. The recordset shows in code only filtered records...
  5. LostInCode

    ADO filter ‘fails’ using array of bookmarks

    >hides filtered records I mean when using with bound grid or whatever.
  6. LostInCode

    ADO filter ‘fails’ using array of bookmarks

    Sorry, I think that is not the purpose of filtering with array of bookmarks. A filter never effect persisted recordset when using array of bookmarks. It is only effected when you specify specific filter. And this I think is good so. Filter method has several purposes - maybe 5 or 6, and only...
  7. LostInCode

    TIME field with VB6 on a SQL statement

    Is your time field a text field holding time, or date field? Store the time as date-time in date field! Or at least, store the time in 24 hour!! format in text field. Date field is maybe better. Use dao? Surround literal time with ##. Text field: If use dao then TimeValue(horav ) and...
  8. LostInCode

    Ha, wierd. (2.3 - 2) <> (.3)

    I try to use CDec() on numbers before converting then to dates. CDec(120 + ((2.3 - 2) * 100)) (CSng() will not always work either, and CCur() is not enough accuracy)
  9. LostInCode

    Processing Outlook Express files

    I think it only possible to send receive and read post with OE using mapi. Read messages - If this is what you looking for, and not looking for list of contacts or something, then for starts check out the Microsoft MAPI control (the Session and Messages objekts)
  10. LostInCode

    Compiling exe - access denied

    Thank you for your reply. I only have the API viewer, MZ-Tools, Klass generator, and Pretty.Print. The others are not automatic loaded - just when needed. All of these have were being used at a time when this problem never occured. I just don't remember if it started after I updated the NT 5...
  11. LostInCode

    Enum constants not found when running projekt

    Thank you for your reply. Yes, I have SP6 since it came out. The problem getting to the nerves and I thought that maybe someone else knew why or how to correct.
  12. LostInCode

    cancel operation

    This just may be an error coming from a bound control such as a datagrid or the data environment. Are you trying to update a recordset which uses a JOIN (I mean edit, and not just add or delete) Is any one of these a possibility?
  13. LostInCode

    cancel operation

    Without knowing the code behind this recordset wrapper class, it is hard to say what is wrong. The way it looks, the error is being returned from that class wrapper itself (the programmer's - of the class - own defined error) and not ADO. See if you can find out exact ADO error code and...
  14. LostInCode

    Enum constants not found when running projekt

    Thank you for your response. All the enum constants I have created have a unique prefix (unique as compared to others in projekt and references), so there are no conflicts there (easy to verify in the object browser - search).
  15. LostInCode

    Passing data to formular from vb - limitation

    Ok. I think I found that there is not possible way of doing this except how I mentioned (thread149-874042). This seems to deal only with internal variables, and not formulas, but I think the results would be the same. Can someone confirm that this will not happen with CR 9 and higher (passing...
  16. LostInCode

    Passing data to formular from vb - limitation

    Is there another way to pass a string of text to a crystal formula, from a VB program, when the text is longer than 255 chars? Otherwise I get an error that the text for the formula is too long. Do not wonder at the length. I am passing as text the selected/current criteria in readible...
  17. LostInCode

    VB deletes value in textbox during run time

    Is your recordset loading in async mode? If so then this can happen, however I think with the exact code you have posted, the following code would error out when referenced to earlier.
  18. LostInCode

    Enum constants not found when running projekt

    Does anyone have sometimes the problem that when you run your project from the IDE, or try to compile, that a created and used Enum Constants in the code is not recognized? It is usually just only one enum not recognized, and it could be a different enum each time. And to continue all I need...

Part and Inventory Search

Back
Top