comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Problem with database
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Problem with database [message #33348] Wed, 18 December 2002 07:29
Evgeny Turchin is currently offline  Evgeny Turchin
Messages: 12
Registered: August 2002
Junior Member
Hello, All !
Here is the text of my IDL program Test1.pro.
(1) Pro Test1
(2) SQL = "Insert Into Images (Territory, FileName, DateView) $
Values ('Rom', 'new.tiff', '20.12.02')"
(3) oDB = OBJ_NEW('IDLdbDatabase')
(4) oDB->Connect, DATASOURCE = 'Images'
(5) oRS = OBJ_NEW('IDLdbRecordset', oDB, SQL=SQL)
(6) Obj_Destroy, oRS
(7) Obj_Destroy, oDB
(8) End

When trying to run the program the execution is stopped at line (5) with
error
% Array dimensions must be greater than 0.
The data are correctly put in the table by the program. The data from the
table can be read without problems using
appropriate SQL query and functions used in program Test1.pro. The database
Images is in Paradox format and the
indexing has been done on field Territory.

How can the problem be solved ?

Best regards, Evgeny Turchin.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: How to use pointers instead of arrays
Next Topic: Re: Inverse Hyberbolic Tangent

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 20:03:32 PDT 2025

Total time taken to generate the page: 0.05180 seconds