Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VFP Cursor Operations - SELECT INTO ARRAY #1656

Open
MarioV-GH opened this issue Dec 16, 2024 · 1 comment
Open

VFP Cursor Operations - SELECT INTO ARRAY #1656

MarioV-GH opened this issue Dec 16, 2024 · 1 comment

Comments

@MarioV-GH
Copy link

Describe the bug
Support of embedded SQL needed - also with the "INTO ARRAY" clause

To Reproduce
create cursor abc (mkey i, mident c(10))
insert into abc (mkey,mident) values (1,"a")
insert into abc (mkey,mident) values (2,"b")
insert into abc (mkey,mident) values (3,"c")

    LOCAL ARRAY aData[1]
    Select * from abc into array aData

Expected behavior
Select fills the vfp-(in that case 2 dimensional) array with mixed types. Elements in the declaration do not really matter.

@RobertvanderHulst
Copy link
Member

We will try to add support for simple SELECT statements in one of the next build. Select into an array should then also be fairly easy to implement.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants