>Hi again!
>
>I was trying to code up a SQL Select that outputs to a Cursor whose name changes each time you use it.. (like in a report, so as to eliminate collisions when used in a group environment.)
>
>(I'm using FPW 2.6 for this one)
>
>How to do it? I tried....
>
>lcCursor1 = SYS(3)
>
>SELECT * FROM master INTO CURSOR (lcCursor1)....
>
>or....
>
>SELECT * FROM master INTO CURSOR &lcCursor1
>
>and get a SYNTAX ERROR on the use or () or & on the lcCursor1 name.
>
>Any ideas?? Thanks in advance!!
>
>Tommy
A cursor name can't start with a digit. Try using sys(2015).
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)