Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

If I open my forms cursors through code, how do I specify the InitialSelectedAlias cursor through code?

code cursor cursors forms specify
0
Posted

If I open my forms cursors through code, how do I specify the InitialSelectedAlias cursor through code?

0

You can programmatically or manually set the forms cInitialSelectedAlias property. If programmatically, make sure you set the cInitialSelectedAlias property before the default Init event code is run, as follows: ThisForm.cInitialSelectedAlias = “” DODEFAULT() As an alternative, you can programmatically set the InitialSelectedAlias property of the DE in the Init event as follows: ThisForm.DataEnvironment.InitialSelectedAlias = “” DODEFAULT() Dont try putting this code in the Load method, because the Load method is run before the DataEnvironments Init event.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123