Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Passing Parameters
Message
From
31/03/2002 23:34:02
 
 
To
31/03/2002 22:44:50
Henry Ravichander
RC Management Systems Inc.
Saskatchewan, Canada
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00639322
Message ID:
00639328
Views:
19
Hi Ravi

after you have populated your cursor , set the dataenvironment.initialselectedalias to 'progressInfo',
then, when the form is activated, should will be selected.

if this does not work, then you will probably have select the cursor in the activate event

have fun
Brenda
>
>I have a mainform called ProgressChart which has a command button whose Click Eventlaunches another form ViewManagement.
>
>ProgressChart is populated by a Select statement which stores the data in cursor ProgressInfo.
>
>Form ViewManagement is populated by a select statement into cursor ManagementInfo based on a parameter being passed from ProgressChart (namely, mHealthNum).
>
>ViewManagement has a text box that displays the date from the cursor ManagementInfo and an Editbox that displays the memo field from the same cursor. I am able to navigate to all reacords properly.
>
>Problem: The Return command button on form ViewManagement has the code "thisform.release". Upon release, form ProgressChart gets focus but clicking on the Next, Previous buttons does not activate the ProgressInfo cursor - rather the active cursor appears to be ManagementInfo!
>
>How do I get ProgressInfo to be the active cursor when returned to ProgressChart from ViewManagement?
>
>TIA.
>
>- Ravi
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform