Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cast() is evaluated for every record
Message
 
General information
Forum:
Visual FoxPro
Category:
Visual FoxPro Beta
Miscellaneous
Thread ID:
00940524
Message ID:
00940764
Views:
18
>Fabio,
>
>Can you post code that reporo the bug?

create cursor MyCursor (F1 N(6,0))

insert into MyCursor values (100)

*!* returns a numeric column instead of Integer
select cast(F1 as I) where .f. FROM MyCursor ;
union ALL ;
select F1 from MyCursor ;
into cursor crsResults
DISPLAY STRUCTURE

*!* following works as expected
select cast(F1 as I) where .f. FROM MyCursor INTO CURSOR crsResults2
DISPLAY STRUCTURE
Mark McCasland
Midlothian, TX USA
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform