Announcement

Collapse

The Alpha Software Forum Participation Guidelines

The Alpha Software Forum is a free forum created for Alpha Software Developer Community to ask for help, exchange ideas, and share solutions. Alpha Software strives to create an environment where all members of the community can feel safe to participate. In order to ensure the Alpha Software Forum is a place where all feel welcome, forum participants are expected to behave as follows:
  • Be professional in your conduct
  • Be kind to others
  • Be constructive when giving feedback
  • Be open to new ideas and suggestions
  • Stay on topic


Be sure all comments and threads you post are respectful. Posts that contain any of the following content will be considered a violation of your agreement as a member of the Alpha Software Forum Community and will be moderated:
  • Spam.
  • Vulgar language.
  • Quotes from private conversations without permission, including pricing and other sales related discussions.
  • Personal attacks, insults, or subtle put-downs.
  • Harassment, bullying, threatening, mocking, shaming, or deriding anyone.
  • Sexist, racist, homophobic, transphobic, ableist, or otherwise discriminatory jokes and language.
  • Sexually explicit or violent material, links, or language.
  • Pirated, hacked, or copyright-infringing material.
  • Encouraging of others to engage in the above behaviors.


If a thread or post is found to contain any of the content outlined above, a moderator may choose to take one of the following actions:
  • Remove the Post or Thread - the content is removed from the forum.
  • Place the User in Moderation - all posts and new threads must be approved by a moderator before they are posted.
  • Temporarily Ban the User - user is banned from forum for a period of time.
  • Permanently Ban the User - user is permanently banned from the forum.


Moderators may also rename posts and threads if they are too generic or do not property reflect the content.

Moderators may move threads if they have been posted in the incorrect forum.

Threads/Posts questioning specific moderator decisions or actions (such as "why was a user banned?") are not allowed and will be removed.

The owners of Alpha Software Corporation (Forum Owner) reserve the right to remove, edit, move, or close any thread for any reason; or ban any forum member without notice, reason, or explanation.

Community members are encouraged to click the "Report Post" icon in the lower left of a given post if they feel the post is in violation of the rules. This will alert the Moderators to take a look.

Alpha Software Corporation may amend the guidelines from time to time and may also vary the procedures it sets out where appropriate in a particular case. Your agreement to comply with the guidelines will be deemed agreement to any changes to it.



Bonus TIPS for Successful Posting

Try a Search First
It is highly recommended that a Search be done on your topic before posting, as many questions have been answered in prior posts. As with any search engine, the shorter the search term, the more "hits" will be returned, but the more specific the search term is, the greater the relevance of those "hits". Searching for "table" might well return every message on the board while "tablesum" would greatly restrict the number of messages returned.

When you do post
First, make sure you are posting your question in the correct forum. For example, if you post an issue regarding Desktop applications on the Mobile & Browser Applications board , not only will your question not be seen by the appropriate audience, it may also be removed or relocated.

The more detail you provide about your problem or question, the more likely someone is to understand your request and be able to help. A sample database with a minimum of records (and its support files, zipped together) will make it much easier to diagnose issues with your application. Screen shots of error messages are especially helpful.

When explaining how to reproduce your problem, please be as detailed as possible. Describe every step, click-by-click and keypress-by-keypress. Otherwise when others try to duplicate your problem, they may do something slightly different and end up with different results.

A note about attachments
You may only attach one file to each message. Attachment file size is limited to 2MB. If you need to include several files, you may do so by zipping them into a single archive.

If you forgot to attach your files to your post, please do NOT create a new thread. Instead, reply to your original message and attach the file there.

When attaching screen shots, it is best to attach an image file (.BMP, .JPG, .GIF, .PNG, etc.) or a zip file of several images, as opposed to a Word document containing the screen shots. Because Word documents are prone to viruses, many message board users will not open your Word file, therefore limiting their ability to help you.

Similarly, if you are uploading a zipped archive, you should simply create a .ZIP file and not a self-extracting .EXE as many users will not run your EXE file.
See more
See less

deleted record shows up in formview

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • deleted record shows up in formview

    When the last physical record in deleted, it still shows up in form views.

    Open for example the AlphaSports database, close the menu and open the default form. Navigate to the last record, this should be #60 - James Mahoney and delete it.
    It will still be displayed, but OK, close the form and open the default browse. As you will notice record #60 isn't shown here, you can also verify that the record is indeed deleted with Databse - Information - Count Deleted Records or Customers - Systemmenu - Properties - Statistics.
    Now reopen the default from and see what happens when you navigate to the last record.

    At least in my case, record #60 is still shown and I can even edit, print, delete it....
    I have mentioned this in a previous thread, but got no reply on this, perhaps it didn't stick out enough.
    I get somewhat annoyed by this last record ghost. When testing froms, I frequently add and then remove those same records again. Testing default mode rules based on previous values and simple expressions with previous values requires me to pack the table each time.

    Can anyone confirm this same problem"

  • #2
    RE: deleted record shows up in formview

    Jos:

    I'm somewhat new to Alpha. But, I think I read where Alpha always creates a last "Blank" record on the databases. Like you, I've noticed that when I delete all records, the last one still stands.

    Have you noticed that when you start adding more records, that the record goes away?

    I've never really check myself yet.

    Good Luck,
    JC

    Comment


    • #3
      RE: deleted record shows up in formview

      I could be wrong but I believe what you are seeing is the buffer:

      When a table is open, there is always one record that can be called the current record. This record is the record upon which the next set of field operations will be applied. A temporary record buffer holds the data from the current record. When a record is entered or changed, the new data values are entered through this buffer.

      Internally, the physical location of the current record is referenced through the current record pointer. Every instance of an open table has its own record pointer. If the same table is opened twice (with two different object pointers), there will be two independently controlled record pointers.

      As Alpha Five processes a table, it moves from one record to the next, advancing the current record pointer. Each time the current record is changed, the field values for the new current record are retrieved, or fetched, from the table file. This process of moving the record pointer and retrieving the current record is known as fetching through the table.

      Cheryl
      #1 Designs By Pagecrazy
      http://pagecrazy.com/

      Comment


      • #4
        RE: deleted record shows up in formview

        Jos,

        I don't have V6 installed on this machine.

        However, I do NOT see the same behavior using A5V5 or A5V4.

        -- tom

        Comment


        • #5
          RE: deleted record shows up in formview

          Julian,

          I'm also new to A5 and glad you can confirm this problem.
          Also noticed that adding a new record corrects it. But then again the last record isn't deleted anymore. And why is this mishap in form views, not in browse views?

          With one or more undeleted records, you would exspect the last (undeleted) record to be used as previous and the last (deleted) not to be used/shown.

          Jos

          Comment


          • #6
            RE: deleted record shows up in formview

            Cheryk,

            I'm aware of the concept of buffer/current record.

            Have you tried the example? Delete that record. Close, if you want, the AlphaSport database or even A5V6 itself and reopen it. Open the default browse amd navigate to the last record, close it and do the same with the default form view and teconsider your argumentations.

            Jos

            Comment


            • #7
              RE: deleted record shows up in formview

              Hi Tom,

              You have to try A%V6 (and probably be surprised)

              Jos

              Comment


              • #8
                RE: deleted record shows up in formview

                I am unable to reproduce this problem. Is this true of any database? Can you actually reproduce it in AlphaSports or were you just using it as an example?

                What regional settings are you using?
                Aaron Brown
                Alpha Software Development Team

                Comment


                • #9
                  RE: deleted record shows up in formview

                  Hi Jos,

                  I just followed your example and do see what you are saying. In order for the record to NOT appear in your default form you need to 'pack' the table.

                  I was trying to find the docs that referenced this but was unable to locate it quickly for you. Delete marks the records but does not actually remove them permanently.

                  I cannot explain why they will show up in the default form view ... this is probably a bug with V6 as it does not show in V5 even if I do not pack the table.

                  I did duplicate your issue and believe it should not be this way :)

                  Cheryl
                  Cheryl
                  #1 Designs By Pagecrazy
                  http://pagecrazy.com/

                  Comment


                  • #10
                    RE: deleted record shows up in formview

                    Aaron,

                    Yes this is true for ANY database, I used AlphaSport just as an example so I didn't have to supply a database of myself and get none-related responses.

                    Jos

                    Comment


                    • #11
                      RE: deleted record shows up in formview

                      Hi Aaron,

                      I duplicated the reported issue using the exact steps in the original post. This happens with any database, not just AlphaSports. I opened the database attached to a post here by Gary Luca, opened the default form on his first table, went to the last record, deleted the record. Closing and re-opening the form and navigating to the last record it is still there, but does not appear in the default browse. If I pack the table after my delete this does remove it from the default browse.

                      I follow the same steps in V5 and it does not behave this way. After deleting the last record using a default browse, it goes away and does not show when re-opening even without packing the table.

                      Cheryl

                      I tested this on my laptop XP Home O/S

                      I am not sure which settings you need, but all settings I have are the ones that default with V6 as I have not made any changes to them.
                      Cheryl
                      #1 Designs By Pagecrazy
                      http://pagecrazy.com/

                      Comment


                      • #12
                        RE: deleted record shows up in formview

                        I still cannot reproduce it.

                        Here are the steps *I* took:

                        1. Open AlphaSports
                        2. Close the main menu
                        3. Right click on the "Customer" table and choose "Open Default Form"
                        4. Press CTRL-END to navigate to the last record

                        At this point, I'm on "Steven Wendell"

                        5. Press CTRL-D to delete the current record
                        6. Select "Yes" to confirm deletion

                        At this point, I am automatically navigated to the *first* record in the table

                        7. Close the form
                        8. Open the default form again per step 3
                        9. Navigate to the last record with CTRL-END

                        At this point, I am on "John Baker" which is correct.

                        Am I missing something?
                        Aaron Brown
                        Alpha Software Development Team

                        Comment


                        • #13
                          RE: deleted record shows up in formview

                          Like Aaron, I cannot duplicate this either. My last record was initially James Mahoney, I dleted him, was brought to the first record int he table and my last record was 59, not 60

                          -Lenny

                          Lenny Forziati
                          Vice President, Internet Products and Technical Services
                          Alpha Software Corporation

                          Comment


                          • #14
                            RE: deleted record shows up in formview

                            Aaron,

                            It's all about the LAST PHYSICAL record, probably you're using a different index. Navigate to record #60 = James Mahoney and delete that one.

                            Jos

                            Comment


                            • #15
                              RE: deleted record shows up in formview

                              Jos, I was able to delete the last physical record without any problem

                              -Lenny

                              Lenny Forziati
                              Vice President, Internet Products and Technical Services
                              Alpha Software Corporation

                              Comment

                              Working...
                              X