Alpha Video Training
Page 2 of 2 FirstFirst 12
Results 31 to 37 of 37

Thread: Browse-Dialog data entry & edit

  1. #31
    Member
    Real Name
    Cliff
    Join Date
    Feb 2008
    Posts
    63

    Default Re: Browse-Dialog data entry & edit

    Thank u peter

    The browser works great, just like i needed to.
    But on my form it does not let me enter anything.

    My browser is a read only, everything needs to get entered on the form. And if possible when the button is pushed the curser needs to be in my first entry block ready for input. I have put my form in modal mode.

  2. #32
    Member
    Real Name
    Cliff
    Join Date
    Feb 2008
    Posts
    63

    Default Re: Browse-Dialog data entry & edit

    Peter Is it possible to have the best of both worlds, that is, the browser looking like it is, and the first field starting in enter mode when the button is pushed?

  3. #33
    Volunteer Moderator Peter.Greulich's Avatar
    Real Name
    Peter Greulich
    Join Date
    Apr 2000
    Location
    Boston, MA
    Posts
    11,644

    Default Re: Browse-Dialog data entry & edit

    Quote Originally Posted by lionking15 View Post
    But the form is not letting me enter any data. The browser is a read only and the form is in modal mode. All my data need to be entered on the form and if possible have have the cursor placed in the first field ready for data entry. I have arranged the tabs in the order i need.
    Add this code to the end of the other code I gave you.
    Code:
    parentform.allow_change(.T.)
    ObjectFieldName.activate()
    Where ObjectFieldName is the name of the field object that you want to give focus to.

  4. #34
    Member
    Real Name
    Cliff
    Join Date
    Feb 2008
    Posts
    63

    Default Re: Browse-Dialog data entry & edit

    Sorry Peter, I am sure by now i have driven u mad. Its given me that same error again.
    The error is: Script: Onpush line:7. t.fetch_last(). Command does not work in change or enter mode.

    I have attached the file to file, because maybe i am doing something wrong.

    Just to brief u, the database is for a horse racing trainer of his winners, and i will still be attaching video to each record.

    Thank u, i really appreciate the help.

  5. #35
    Volunteer Moderator Peter.Greulich's Avatar
    Real Name
    Peter Greulich
    Join Date
    Apr 2000
    Location
    Boston, MA
    Posts
    11,644

    Default Re: Browse-Dialog data entry & edit

    Ok, this script works.

    Code:
    t=table.current()
    
    t.enter_begin()
    t.enter_end(.T.)
    
    t.fetch_last()
    FOR k = 1 TO 30
        t.fetch_prev()
    Next
    
    FOR k = 1 TO 30
     t.fetch_next()
    Next
    parentform.resynch()
    parentform.allow_change(.T.)
    horse.activate()

  6. #36
    Member
    Real Name
    Cliff
    Join Date
    Feb 2008
    Posts
    63

    Default Re: Browse-Dialog data entry & edit

    Thank u.

    If i am entering more than one record the same error pops up. Should i save each record before i try push the button to enter a new one?

  7. #37
    Volunteer Moderator Peter.Greulich's Avatar
    Real Name
    Peter Greulich
    Join Date
    Apr 2000
    Location
    Boston, MA
    Posts
    11,644

    Default Re: Browse-Dialog data entry & edit

    Quote Originally Posted by lionking15 View Post
    If i am entering more than one record the same error pops up. Should i save each record before i try push the button to enter a new one?
    Yes, save each one. There are other ways to handle this, but I got to go for now. Good luck!

Similar Threads

  1. Data Entry in Browse
    By dcorcoran in forum Alpha Five Version 6
    Replies: 2
    Last Post: 05-17-2005, 06:02 AM
  2. Data Entry/Browse
    By scottly in forum Alpha Five Version 5
    Replies: 5
    Last Post: 11-11-2003, 04:34 AM
  3. Data Entry/browse
    By scottly in forum Upgrading to Alpha Five from Alpha Four
    Replies: 1
    Last Post: 11-10-2003, 12:12 PM
  4. View, Settings, Data Entry dialog
    By davej in forum Alpha Five Version 5
    Replies: 5
    Last Post: 10-01-2003, 04:30 PM
  5. Basic Data Entry & passing global Tom Cone
    By Don Reed in forum Alpha Five Version 4
    Replies: 1
    Last Post: 09-22-2001, 06:05 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
  •