🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.vdbase.data.sql
Article #130

sql= @*.sql

#130
From: Robin
Date: Wed, 20 Jan 1999 00:00
22 lines
1059 bytes
In a program i have written:

this.MAINDATA1 = new QUERY()
   with (this.MAINDATA1)
      sql = @DATEM.SQL
      active = true
  endwith

In the same directory i have the file Datem.sql
It�s contents:

SELECT koll
FROM "D:\borsdata\maindata.dbf" Maindata
WHERE  DATES = '01/18/1999'

When i run the program i get an error: "Expression expected"
If i run the Datem.sql it works prefect.

Where did i go wrong?

Thank�s in advance.
//Robin
Technical Details
Message-ID: <Itrp2.33277$9S3.83992@nntpserver.swip.net>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: ff5a1,d17c271beb785d2f,start
X-Google-Attributes: gidff5a1,public
From: "Robin" <b_saved@hotmail.com>
Subject: sql= @*.sql
Date: 1999/01/20
Message-ID: <Itrp2.33277$9S3.83992@nntpserver.swip.net>
X-Deja-AN: 434948342
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4
X-Complaints-To: news-abuse@swip.net
X-Trace: nntpserver.swip.net 916866024 130.244.116.181 (Wed, 20 Jan 1999 22:00:24 MET DST)
Organization: A Customer of Tele2
NNTP-Posting-Date: Wed, 20 Jan 1999 22:00:24 MET DST
Newsgroups: borland.public.vdbase.data.sql