Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

A few questions.

Status
Not open for further replies.

derfie

Programmer
Apr 15, 2008
2
I'm not a database person but, I have the following written in pervasive
Code:
CREATE PROCEDURE PROCOUT (OUT :outval INTEGER)  
AS BEGIN 
SELECT Student_ID INTO :outval FROM Enrolls WHERE Grade=1.0;
END

and I wanted to see what it does so, I did this
Code:
CREATE PROCEDURE pdate(); 
BEGIN 
   DECLARE :a integer; 
   CALL PROCOUT(:a); 
   PRINT :a; 
END

problem is the progress bar comes up and it never ends! Any idea why this might be?

Thanks,
Fred
 
If you are running PSQL in a client/server situation, the PRINT will display the value on the server not the client.


Mirtheil
Certified Pervasive Developer
Certified Pervasive Technician
 
cool, Thanks. I'm pretty new to pervasive. I appreciate your help!

-Fred
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top