Subject: | Re: Using const in query
| Date: | Tue, 4 May 2021 10:09:21 -0700
| From: | Jim Short <jim@tahlinc.com>
| Newsgroups: | pnews.paradox-programming
|
Thanks, that works!
On 5/4/2021 7:18 AM, Steven Green wrote:
> ~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
|