Paradox Community

Items in pnews.paradox-programming

Subject:Re: Using const in query
Date:Tue, 4 May 2021 10:18:24 -0400
From:"Steven Green" <greens@diamondsg.com>
Newsgroups:pnews.paradox-programming
~cid in the query

--

Steven Green
Myrtle Beach, South Carolina, USA

http://www.OasisTradingPost.com

Collectibles and Memorabilia
Vintage Lego Sets and Parts
- and Paradox support, too
"Jim Short"  wrote in message news:609143ee$1@pnews.thedbcommunity.com... 

Hi All

CusID (I)

Why does error say wrong type?

method cmCustomerParts(const cid longint)
var
q query
tc tcursor
endvar

q=Query

ANSWER: :PRIV:ANSWER.DB

:NTABLES:CusPart.db | CusID |
| cid |
EndQuery

if not executeQBE(q) then
errorShow("Query failed to execute")
   return
endIf

endMethod


Copyright © 2004 thedbcommunity.com