Alpha Video Training
Results 1 to 3 of 3

Thread: first record add dialog

  1. #1
    Member
    Real Name
    John Cunradi
    Join Date
    Aug 2000
    Posts
    464

    Default first record add dialog

    I can't seem to find the commands anywhere in Xbasic to let me do this.

    I want to open a conditional dialog box. The dialog would open only after a form is opened but not if either one of two operations has been run since the database application has been opened.

    The dialog would open only on the first new entry after the form opened but not subsequent entries.

    The purpose of this is to prevent the user from adding new records until after other records have been imported into the table. (during import, the table is zapped and I don't want them to loose any new records that they've added before the import)

    Maybe, Im approaching this the wrong way, I'm open to ideas.

    Thanks.

  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: first record add dialog

    A different approach might be to make the default for the form, under properties, restrict enter records. Then undo this restriction, with yourformname.restrict_enter = .f., when your operations are through.

  3. #3
    Member
    Real Name
    John Cunradi
    Join Date
    Aug 2000
    Posts
    464

    Default RE: first record add dialog

    Thanks Stan,

    That sounds like a much better approach, I'll give it a try

Similar Threads

  1. Dialog box causes record lock error
    By pstaver in forum Alpha Five Version 6
    Replies: 3
    Last Post: 11-12-2004, 03:59 PM
  2. current record delete dialog
    By kevin waggitt in forum Alpha Five Version 5
    Replies: 5
    Last Post: 08-23-2004, 11:18 AM
  3. Action Scripting: Dialog Form New Record
    By Peter.Greulich in forum Alpha Five Version 5
    Replies: 8
    Last Post: 07-07-2004, 08:39 AM
  4. X-dialog Multi-select record list
    By infomatic in forum Alpha Five Version 5
    Replies: 3
    Last Post: 12-30-2002, 07:15 AM
  5. Dialog Box Record List Display Order
    By fairviewcomputing in forum Alpha Five Version 5
    Replies: 1
    Last Post: 10-18-2002, 08:31 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
  •