Michael,

 

DROPping a cursor before declaration is just good practice if you cannot assure 
that it has not been previously DELCAREd.

 

Emmitt Dove

Manager, Converting Applications Development

Evergreen Packaging, Inc.

[email protected]

(203) 214-5683 m

(203) 643-8022 o

(203) 643-8086 f

[email protected]

 

From: [email protected] [mailto:[email protected]] On Behalf Of Michael J. 
Sinclair
Sent: Sunday, November 08, 2009 5:27 PM
To: RBASE-L Mailing List
Subject: [RBASE-L] - Should cursors always be dropped before creating them?

 

Hi all,

Is there a way to tell if a cursor has already been declared before I drop it 
and the recreate it? Or do most programmers just drop the cursor before 
creating it to make sure it can be created? 

 

I am trying to improve my coding skills. I don't know if dropping a cursor that 
has not already been created is considered a "bad practice" beause it 
genereates an error (even though the error message can be turned off) or a 
"good practice" because it helps to ensure that the cursor will be created 
properly. 

 

Mike

Reply via email to