Article View: borland.public.vdbase.data.sql
Article #1206Getting 269 with SQLEXEC( ) - WITHOUT THE HTLM! Sorry again!
From: Geoff Wass
Date: Tue, 07 Apr 1998 00:00
Date: Tue, 07 Apr 1998 00:00
58 lines
2419 bytes
2419 bytes
============================================================= Hello everyone! I have a new problem which has gotten progressively worse. This is for VdB 5.6 and BDE 4.50 I started by having a simply SQL command in a program that was executed using SQLEXEC( ) as follows: SQLEXEC( "SELECT * FROM TKHistry WHERE Employee = '12345678' ", "mytemp.dbf" ) This was working fine for many weeks. I then tried the following as something new (same as before with a change in the sign): SQLEXEC( "SELECT * FROM TKHistry WHERE Employee > '12345678' ", "mytemp.dbf" ) This failed with SQLEXEC( ) returning a 269 (IDAPI error). I was perplexed but put it aside. A few days later, another program was run that does something similar. It failed with the same error code! I noticed that the SQLEXEC( ) was no longer showing "Step 1... 2... 3" in the status bar as it would normally do. Even the first SQL command (with the = sign) now fails. On my PC I do not get anything displayed by the status bar, my colleague's PC which has VdB 5.6 with BDE 2.50 has the same problem but at least Step 1 displays in the status bar when the SQLEXEC( ) is executed. It does not matter if the file is large or small or whether the index is character or numeric, it still fails now. If I run the query as local SQL, it works, except in the case of the large file which gets "insufficient disk space" which is another matter. It was bad enough that the new thing I wanted to do would not work, but now everything that was working is failing with 269. Has anyone run into this? Any suggestions? Please do not suggest a higher version of dBASE, I have to stick with 5.6! Thanks in advance for your help! Geoff Wass Kuala Lumpur, Malaysia Triumph is in the first syllable. =============================================================
Technical Details
Message-ID:
<3529E657.F5649922@ibm.net>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<3529E5EF.7178FF1A@ibm.net>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: ff5a1,a58386663b52e8aa,start X-Google-Attributes: gidff5a1,public From: Geoff Wass <gswass@ibm.net> Subject: Getting 269 with SQLEXEC( ) - WITHOUT THE HTLM! Sorry again! Date: 1998/04/07 Message-ID: <3529E657.F5649922@ibm.net> X-Deja-AN: 341638830 Content-Transfer-Encoding: 7bit References: <3529E5EF.7178FF1A@ibm.net> Content-Type: text/plain; charset=us-ascii Organization: Noordindarus Consultancy Sdn. Bhd. Mime-Version: 1.0 Newsgroups: borland.public.vdbase.data.sql