Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Passing Parameters
Message
De
31/03/2002 23:34:02
 
 
À
31/03/2002 22:44:50
Henry Ravichander
RC Management Systems Inc.
Saskatchewan, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00639322
Message ID:
00639328
Vues:
20
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform