Hi to everyone!!
I have a problem with my visual foxpro application that I can't solve...
I have a cursor named mycursor which I create with
CREATE CURSOR mycursor (FieldA N,...)
Then I make an insert like this
INSERT INTO mycursor;
SELECT * FROM mycursor2
mycursor is also bounded to some fields (ControlSource = mycursor.FieldA) in which I show to the users the values of the cursor and in which user can edit these values.
I don't need to store these values.
I use these values for making some elaborations and everything is going right until I make these commands
SELECT mycursor
COPY TO mypath
The files are created correctly. But after that the fields bounded with the cursor doesn't show any value and command like this
MESSAGEBOX(VAL(mycursor.FieldA)) show 0. Also the elaboration that I made now doesn't works.
I'm thinking this could be a problem of buffering because if I make a BROWSE after the copy command the problem doesn't appear.
I've tried to set
CURSORSETPROP('Buffering',1)
to mycursor without results.
Also a refresh to the field dosn't work.
Any help is appreciated, thank you !!
I have a problem with my visual foxpro application that I can't solve...
I have a cursor named mycursor which I create with
CREATE CURSOR mycursor (FieldA N,...)
Then I make an insert like this
INSERT INTO mycursor;
SELECT * FROM mycursor2
mycursor is also bounded to some fields (ControlSource = mycursor.FieldA) in which I show to the users the values of the cursor and in which user can edit these values.
I don't need to store these values.
I use these values for making some elaborations and everything is going right until I make these commands
SELECT mycursor
COPY TO mypath
The files are created correctly. But after that the fields bounded with the cursor doesn't show any value and command like this
MESSAGEBOX(VAL(mycursor.FieldA)) show 0. Also the elaboration that I made now doesn't works.
I'm thinking this could be a problem of buffering because if I make a BROWSE after the copy command the problem doesn't appear.
I've tried to set
CURSORSETPROP('Buffering',1)
to mycursor without results.
Also a refresh to the field dosn't work.
Any help is appreciated, thank you !!