|
Martin, I removed the quotes as follows: response.write "<tr><td>" & rsq(NAME) & "</td><td>" & rsq(COMPANY) & "</td><td>" & rsq(ID) & "</td></tr>" With the same error message on the same line (response.write). These are "regular" AS/400 files defined by DDS, no journaling, etc. Thanks, Loyd -- Loyd Goodbar Programmer/analyst BorgWarner Incorporated ETS/Water Valley 662-473-5713 lgoodbar@xxxxxxxxxxxxxx -----Original Message----- From: McCallion, Martin [mailto:martin.mccallion@xxxxxxxxx] Sent: Tuesday, July 15, 2003 7:59 AM To: 'Midrange Systems Technical Discussion' Subject: RE: Access "non-SQL" databases with ADO? Loyd, Can you get the fields to be in upper case, but _without_ the double quotes? I've seen situations where we've generated a script from an SQL Server database, tweaked it, and used it to create a database on the iSeries. Where fields enclosed in double quotes, the double-quote character became _part of the name_. You can see something similar with object names by running something like this: crtsrcpf qtemp/"qclsrc" Paste that into a terminal window, then DSPLIB QTEMP, and you'll see what I mean. If I'm correct, then DB2/400 is actually looking for fields called '"name"', etc, when they are really called 'NAME', etc. The other thing to consider is whether or not the files are journalled, but I think that's only a problem if you're trying to update them using SQL.# HTH. Cheers, Martin.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.