Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics SL forum
Unanswered

How can I set a value typed in a gridline as the default for the next gridline

Posted on by Microsoft Employee

How can I set a value typed in a gridline as the default for the next gridline. Was looking at Default Property and Previous Value Field without sucess.

  • Barry Flynn Profile Picture
    Barry Flynn 3,090 on at
    Re: How can I set a value typed in a gridline as the default for the next gridline

    Jorge

    One way would be to store the value, possibly in the grid's LineChk event.

    Then, in LineGotFocus, check that MaintFlg = NEWROW.

    If it does, then you are on a newly created grid line, and you could use SetObjectValue to set the stored value into the control.

    Barry

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 287,696 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,490 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans