Alternatively, use second recordset object to return the results of your second query.
something like
objRecordSet.Open "select * from Customer", objConnection, adOpenStatic
do while not objRecordSet.eof
strCustomerId = objRecordSet.Fields("CustomerId").Value...
Found my own solution Andie Harper
"If you can keep your head when all around you have lost theirs, you probably haven't understood the seriousness of the situation"
I've been reading around but have not yet got past the barrier that you need to know the elemnt name up form the product the style sheet.
As I have approximatley 50 tables, If I need to know the element name I would have to write 50 style sheets. I sure it must be possible through a single...
I have an audit table in a SQL database which keeps the actual audit data for all operations in XML format something like
<TABLENAME>
<NEW>
<COL1>value</COL1>
<COL2>value</COL2>
</NEW>
<OLD>
<COL1>value</COL1>
<COL2>value</COL2>
</OLD>
</TABLENAME>
I need ot be able to report on...
The parser was a good idea, sometimes you need to step away from the problem to see the solutions.
Basically I parse the input paramter into a temporary table and use a select to produce the "IN" list
Thanks for the help Terry
Andie Harper
"If you can keep your head when all...
More info
I'm using SQL Server 7
I have already stated tha the use of dynamic SQL is not allowed as this requires SELECT pemrissions on the USER table. As this is for a web applicaiton using a single SQL login, it is not possible to isolate permissions for specific users
Any other ides...
You can use the REPLACE function to get rid of the additional spaces
Something like
SELECT LecturerTitle + ' ' + REPLACE(LecturerInitial,' ','') + ', ' + LecturerSurname As LecturerName
Andie Harper
"If you can keep your head when all around you have lost theirs, you probably haven't...
I have a Database which requires all access to be made through stored procedures for security/audit purposes.
What I need to do is pass the list of id's to search in an IN clause as a parameter of a stored procedure
i.e.
Create Procedure [GetOrgUserList]
@OrganisationList varchar(2048)
AS...
kel1981b
Access and Lock operate independently of each other. Access is how your code can use the file. Lock is how other programs can use the file at the same time as your program. Whilst it may not always be approriate to do so, al logical combinations of Access and Lock can be used...
In the end, I have written a Java utility to split the files into chunks that can be processed by the VB Parser.
Thanks for all your attempts to answer this. In answer to some of your questions
MichaelRed - I have almost a terrabyte of storage available, so no problem with processing needs...
Does anyone have a way of handling files that are larger than 2Gb with VB.
I have a Parsing Utility which has been used to parse text files (about 1Gb each) output from a mainframe billing system and insert the data into a database.
We are in the process of decomissioning the mainframe...
Check the values in you database table.
One of them is an empty string.
.Open "SELECT DISTINCT SHAPE from tblStockList", "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=\\deepblue\EngineeringBOM\Data\EngineeringBOM_data.mdb;Persist Security Info=False", adOpenStatic...
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.