Alpha Video Training
Results 1 to 2 of 2

Thread: Prompt User for Save or auto save edits

  1. #1
    Member
    Real Name
    Wayne
    Join Date
    Aug 2009
    Posts
    129

    Default Prompt User for Save or auto save edits

    I have been poking around the message boards and with Alpha in terms of prompting the user to save edits or just auto commit them.

    My first inclination what to go to the events area of a grid and look for something that fires when they close the form.

    Is anyone aware of a feature built into Alpha that will ask the user if they want to save changes? Seems bad if a user enters data, then navigate away thinking they made an input or change.

    Thanks

  2. #2
    Member
    Real Name
    Wayne
    Join Date
    Aug 2009
    Posts
    129

    Default Re: Prompt User for Save or auto save edits

    Here is how I solved my problem:

    I have two grids, a master and a secondary grid the populates in the freeform region below... linked. Anytime you click a row in the master, the linked grid below changes data to show its related records. For example, customers in master and any time you click a customer, the grid below shows all of its related invoices.

    I have a check box as a column in the child grid. Users will toggle through records, sometimes many at a time changing values. I did not want them to have to hit submit ever time they change the master record.

    My solution was to in the child grid, go to properties of grid and add a row based java script event that fires onclick. In that event, I entered the following code:

    {grid.Object}.submitGridPartRow({Grid.RowNumber});

    Seems to do the trick and any time a user updates a value in a row, it submits. I am sure there are cleaner ways to do this and may bog down the client side if they were changing lots of data, but this seems to solve the problem until I have a more elegant solution.

    Just wanted to follow-up to close the post for any that happen to search on a similar issue.

    If anyone has a better idea, I am always appreciative.

Similar Threads

  1. Unable to save edits in freeform layout
    By xido in forum Alpha Five Version 9 - Desktop Applications
    Replies: 1
    Last Post: 06-08-2009, 09:55 PM
  2. Dialog builder allows close window w/o prompt to save..
    By Hansolo in forum Web Application Server v7
    Replies: 0
    Last Post: 02-28-2006, 01:30 PM
  3. Prompt Save on NEXT record or CLOSE form
    By AceComp in forum Alpha Five Version 6
    Replies: 1
    Last Post: 03-10-2005, 03:46 AM
  4. Auto Save
    By tarlachmoorhouse in forum Alpha Five Version 5
    Replies: 4
    Last Post: 10-22-2003, 12:13 AM
  5. Browse Bug? (No prompt for save.)
    By Blake in forum Alpha Five Version 5
    Replies: 3
    Last Post: 01-22-2003, 08:02 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •