Alpha Video Training
Results 1 to 4 of 4

Thread: Hide New Record in Browse

  1. #1
    Member
    Real Name
    Joe Quinlivan
    Join Date
    May 2009
    Posts
    22

    Default Hide New Record in Browse

    I have a browse in a form used for recording notes. The browse always has a blank field with text "New Record". I want to make that blank field go away while having the ability to click on a field within the browse to edit notes. Would enter a new record by clicking a button. The only way I have found to get the New Record field to go away is to set the browse to Read Only. If I do that I cant edit notes. Any solutions?

  2. #2
    "Certified" Alphaholic
    Real Name
    Tom Cone Jr
    Join Date
    Apr 2000
    Location
    Florida
    Posts
    23,311

    Default Re: Hide New Record in Browse

    Don't recall if this will work, but you can "restrict enters" in the properties of the browse object. Maybe that will suppress the "new record" row. -- tom

  3. #3
    "Certified" Alphaholic Tim Kiebert's Avatar
    Real Name
    Tim Kiebert
    Join Date
    Jul 2004
    Location
    Geelong, Victoria, Australia
    Posts
    2,785

    Default Re: Hide New Record in Browse

    In the browse properties go to the 'Browse' tab and under 'Restrictions' check 'Enter record'

    Then in your button code you need a line like below using your browse name for 'Browse1'

    parentform:Browse1.restrict_enter = .F.

    And then depending on your work flow, maybe in the OnSave event of the browse, use

    parentform:Browse1.restrict_enter = .T.
    Tim Kiebert
    Eagle Creek Citrus
    A complex system that does not work is invariably found to have evolved from a simpler system that worked just fine.

  4. #4
    Member
    Real Name
    Joe Quinlivan
    Join Date
    May 2009
    Posts
    22

    Default Re: Hide New Record in Browse

    Tim... Your method worked like a charm. Many thanks!

Similar Threads

  1. Hide column in embedded browse
    By dodgebros in forum Alpha Five Version 7
    Replies: 3
    Last Post: 05-10-2007, 03:44 PM
  2. conditional hide row, per record
    By Steve Wood in forum Web Application Server v7
    Replies: 23
    Last Post: 04-23-2007, 07:23 PM
  3. Runtime - Hide Record Navigation Toolbar
    By jdtwright in forum Alpha Five Version 7
    Replies: 2
    Last Post: 03-02-2006, 11:22 PM
  4. Embedded Browse - Hide Column
    By jdtwright in forum Alpha Five Version 7
    Replies: 7
    Last Post: 01-08-2006, 02:54 PM
  5. hide/unhide browse columns
    By Marc King - A5solutions in forum Alpha Five Version 5
    Replies: 4
    Last Post: 02-03-2004, 01:14 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
  •