Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics SL (Archived)

How to hide the new button in the solomon 7

(0) ShareShare
ReportReport
Posted on by 1,190

Hi there,

              i jus want to enter a single entry using the screen. After that new button become disabled. Actually i did this using in Call SetButton().

But when i hide that button my single entry won't get save into the database. What are all the necessary steps i have to follow.

*This post is locked for comments

  • Barry Flynn Profile Picture
    Barry Flynn 3,090 on at
    Re: How to hide the new button in the solomon 7

    Just an idle thought.

    What is the Levels property of the Update control?

    For a "single record" screen (ie a "setup screen" ) It should be something like

       Setup;C

    The important bit is the C that comes after the semi-colon. The text "Setup" before the semi-colon doesn't matter too much

    Barry

  • Verified answer
    Barry Flynn Profile Picture
    Barry Flynn 3,090 on at
    Re: How to hide the new button in the solomon 7

    Karthik

    In my screen the SAVE button is enabled. and when I click it, a Save operation takes place.

    In your case, is the SAVE button enabled?

    If so, when you click it, does the Update event fire?

    Barry

  • Jeffrey Ricafort Profile Picture
    Jeffrey Ricafort 135 on at
    Re: How to hide the new button in the solomon 7

    Have your user id the necessary access rights to save/insert new record, if this is transaction related.

  • Re: How to hide the new button in the solomon 7

    Thanks Barry,

      But still am facing that problem, data has not been saved. I did all the things what you said.

    Karthik

  • Verified answer
    Barry Flynn Profile Picture
    Barry Flynn 3,090 on at
    Re: How to hide the new button in the solomon 7

    Karthik

    I've got a "setup" style of program, which deals with a single record.

    In Form Load I've got

    Call SetButton(TbInsertButton + TbDeleteButton + TbNextButton + TbPreviousButton + TbFirstButton + TbLastButton, AllLevels, False)

    And in the Update control's NewLevel event I've got

    Sub Update1_NewLevel(ByVal Level As Short, ByRef RetVal As Short) Handles Update1.NewLevelEvent

    retval = NoAction

    end sub

    That appears to achieve what I want.

    Barry

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,321 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans