Paradox Community

Items in pnews.paradox-programming

Subject:Using const in query
Date:Tue, 4 May 2021 05:54:01 -0700
From:Jim Short <jim@tahlinc.com>
Newsgroups:pnews.paradox-programming
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