Alpha Video Training
Results 1 to 5 of 5

Thread: Clearing UUID

  1. #1
    Member
    Real Name
    Nigel Pealing
    Join Date
    Dec 2009
    Location
    Gloucester UK
    Posts
    12

    Default Clearing UUID

    Hi All

    I have created and used a UUID to create a record and then navigate back to that record to add detail in a linked grid (there must be an easier way). But now I want to clear that UUID value so that the user can create a new record - how do I do that?

    Thanks

  2. #2
    Member StephenP's Avatar
    Real Name
    Stephen Pilon
    Join Date
    Apr 2000
    Location
    Front Royal, Virginia
    Posts
    491

    Default Re: Clearing UUID

    Try watching these videos on linked content:

    Web Applications Video 29

    Web Applications Video 65

    You can get all of the videos at: Web Application Videos

    I'm not sure you're using the UUID properly here. You probably want to use auto-increment fields in the grid. Or some other grid method for setting the UUID. Regardless, Linked grids may be your answer.
    Stephen Pilon
    Associate Librarian
    Christendom College

  3. #3
    Member
    Real Name
    Nigel Pealing
    Join Date
    Dec 2009
    Location
    Gloucester UK
    Posts
    12

    Default Re: Clearing UUID

    Thanks for your response and for the links - I have looked at video 29 but not 65 yet.

    I have tried using linked grids but all the examples show a grid already populated with the data in the parent field.
    I want to use an 'add records only' grid - to make the entry easier for the user - i.e. they do not have to navigate to the last position. When using an Add only Grid and leave it to redirect back to <self> the notation comes up 1 record added and gives the ability to enter an extra parent record - this is before you get chance to fill in the child grid.
    I therefore used an add only (unlinked) grid for the parent then used UUID to navigate back to a similar grid but with linked content. This worked well but... when creating another parent record for a different invoice the same UUID is used as the session has not been ended. I just need a simple way, after navigating back to the link grid of clearing the UUID.

    As I say there is probably a long way round but I am learning.

    Nigel

  4. #4
    Member StephenP's Avatar
    Real Name
    Stephen Pilon
    Join Date
    Apr 2000
    Location
    Front Royal, Virginia
    Posts
    491

    Default Re: Clearing UUID

    If you're using an add only grid for the parent record, then you could set the target page to <Event>. This allows you to write your own code in the OnPageRedirect event and pass along the new record key.

    You could also use it to go to a single record view grid, filtered on the record you just created, and with a linked grid there for the child table (or tables).

    Just some ideas.
    Stephen Pilon
    Associate Librarian
    Christendom College

  5. #5
    Member
    Real Name
    Nigel Pealing
    Join Date
    Dec 2009
    Location
    Gloucester UK
    Posts
    12

    Default Re: Clearing UUID

    Thats great - got it working thanks for your help with this.

    Sometimes it is just a point in the right direction.

    Nigel

Similar Threads

  1. Id field UUID type not numeric
    By jorgecardenas1 in forum Database Design
    Replies: 4
    Last Post: 11-07-2010, 09:26 AM
  2. clearing form
    By villmx in forum Application Server Version 10 - Web/Browser Applications
    Replies: 5
    Last Post: 12-22-2009, 09:15 AM
  3. UUID - Grid Event
    By eboughey1 in forum Application Server Version 10 - Web/Browser Applications
    Replies: 9
    Last Post: 09-19-2009, 10:27 AM
  4. Auto increment option to use UUID/GUID
    By Al Buchholz in forum Archived Wishlist
    Replies: 5
    Last Post: 01-31-2005, 07:18 AM
  5. guid or uuid
    By Paul in forum Alpha Four Versions 7 and 8
    Replies: 0
    Last Post: 10-25-2002, 10:14 AM

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
  •