Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Select * from ... into cursor
Message
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01414879
Message ID:
01414880
Views:
65
>I am tring to create a cursor by code in the load method of the form
>
> select * from consultas.dbf into cursor consultas readwrite
>
>message = Alias name already in use !
>
>If I change to
>
>select * from consultas.dbf into cursor consultas_B readwrite,
>
>then I can create it
>
>Is it not possible to have a cursor with the same name of the table as I do in DE interactive cursor creation ?

Try
use in select('conSultas')
select * from consultas.dbf into cursor consultas readwrite
I believe your problem is that your table and your cursor have the same name.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform