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...
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...
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 -...
>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...
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...
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...
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)
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)
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...
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.
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?
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...
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).
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...
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...
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.
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.