Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid row changes after calling a form
Message
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01511669
Message ID:
01512275
Views:
51
Can you should the replace command. Also, the safe practice is to save the current record number, do replace, restore the record number, e.g.
lnCurRec = recno("MyTable")
replace ...
goto lnCurRec in MyTable
>Hi Thomas
>
>I'm using REPLACE to save the details.
>
>>Hi Robin,
>>
>>as you use memory vars in the form, what do you do to write those values back in the grid cursor?
>>REPLACE , GATHER or something else?
>>
>>>Hi
>>>
>>>I have a grid on my 1st form that lists jobs.
>>>
>>>When a user clicks on one of the columns I run a modal form that allows the user to edit some of the jobs details for the row selected,
>>>
>>>The modal form uses memory variables
>>>
>>>I then save the changes, and release the form, the row changes to the 1st row in my grid on the 1st form?
>>>
>>>As a test I've even changed the form I call to an empty one, it still moves the grid row to the top?
>>>,
>>>
>>>I don't get it?
>>>
>>>TAI
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