Alpha Video Training
Results 1 to 4 of 4

Thread: Opening form on new record

  1. #1
    Nick Perez
    Guest

    Default Opening form on new record

    On which event should you put the script PARENT.new_record() so that the form opens up on a new record.

    I have a button on the form that works flawlessly, but when I try to put the script into the form actions I can’t get it to work. I’ll admit I’m a bit confused about all the options given.

  2. #2
    "Certified" Alphaholic Stan Mathews's Avatar
    Real Name
    Stan Mathews
    Join Date
    Apr 2000
    Location
    Bowling Green, KY
    Posts
    25,119

    Default RE: Opening form on new record

    First thought is oninit. That should fire every time you open the form. Will consider and experiment.

  3. #3
    Lloyd Frank
    Guest

    Default RE: Opening form on new record

    Nick

    If you open your form and then click on view,Script recorder window,check recording box then close window.On your form click the new record icon. Then go back to the view,Script recorder window and it will show you exactly what you have to attach to the oninit event to open form in entry mode.

    The script will look like this
    :.activate()
    ::Tables:.enter_begin(HONOR_FIELD_RULES)

    I just tried this on a form I wanted opened in entry mode and it worked great. Hope this helps

    Lloyd

  4. #4
    Lloyd Frank
    Guest

    Default RE: Opening form on new record

    Oops the script didn't print right but if you look at the script recorder you will see what it should look like.

    Lloyd

Similar Threads

  1. Opening a form - Goto last record
    By johngt in forum Alpha Five Version 5
    Replies: 13
    Last Post: 04-05-2004, 04:35 PM
  2. Opening a form to "New Record"
    By Sholom Hamada in forum Alpha Five Version 5
    Replies: 20
    Last Post: 08-20-2003, 05:01 PM
  3. Opening form for new record
    By Alan Anthony in forum Alpha Five Version 5
    Replies: 3
    Last Post: 01-01-2003, 05:14 AM
  4. Opening form, not opening to correct record
    By W. Horton in forum Alpha Five Version 4
    Replies: 5
    Last Post: 11-27-2002, 07:52 AM
  5. Opening Form on Record Specified from Form
    By Rich Williams in forum Alpha Five Version 4
    Replies: 3
    Last Post: 04-24-2000, 12:50 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
  •