Alpha Software Mobile Development Tools:   Alpha Anywhere    |   Alpha TransForm subscribe to our YouTube Channel  Follow Us on LinkedIn  Follow Us on Twitter  Follow Us on Facebook

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

Missing Memo Fields

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

    Missing Memo Fields

    We were running V6 on a Windows 2000 network (not knowing that they were incompatible). My memo fields became corrupt - they were no longer pointing to the .dbt files. I installed V7, deleted the offending memo fields, created new memo fields and thought that we were in business. Now I am finding that the information in these brand new memo fields is disappearing. It's there one day, gone the next. This is exactly the same problem we were having when we were told that the field was corrupted by running the database on Windows 2000. I haven't heard of this happening to anyone else - is my database completely corrupt or is this a problem in V7? Any ideas?

    #2
    RE: Missing Memo Fields

    Linda,

    How many copies of your database files, especially the dbt memo files, are present in your complete network? i.e. the server and each workstation.

    I ask because your description causes me to wonder if the users are updating one copy, perhaps locally, and then later, the next day for example, logging in to a different copy, perhaps on the server.

    -- tom

    Comment


      #3
      RE: Missing Memo Fields

      Tom,

      All the data is on the server. Each workstation has the program installed on it, but nobody has the data on their workstation.

      Linda

      Comment


        #4
        RE: Missing Memo Fields

        Linda,

        Look for things that might cause the memo field to get out of synch with the main database.

        As you know memo fields are stored in separate dbt files. when you begin a new record in your database the memo field is not created in the dbt file until the dbf record is saved. Might something be interrupting this in mid-stream?

        Here some things to consider:

        1) change your procedures. When you need to enter a new record, enter it, then save it immediately. Then change it, and save the changes. This should force the memo field to disk, I should think.

        2) is it possible someone in your group is deleting memo field values without realizing it... or worse, on purpose?

        3) is it possible someone is restoring the dbt file using an out of date backup?

        4) slow down the data entry, and carefully check the memo field values, between new records. After a new record is entered and saved. Can anyone else on the network see it? They should be able to see the new memo field, of course. If they cannot that may mean that while you think all the data is on the server, someone is updating local tables.

        -- tom

        Comment


          #5
          RE: Missing Memo Fields

          Tom,

          Thanks for your suggestions. I really suspect that this problem is somehow related to the fact that we upgraded to a Windows 2000 server. Nothing except that changed, and that's when the problems started. I was told by Tech Support that this may be data corruption that may have happened since we were still using version 6 (which is why I quickly upgraded to version 7). Supposedly, upgrading to version 7, deleting the memo field and adding a brand new memo field was going to fix the problem, except I see that it's happening agan.

          It seems to happen every few days. I looked at some of our backups and the memo fields are OK for a few days, and then the data suddenly disappears. Nobody fools with the files, the backups, or the database (except to enter new data) except me. They save the files as soon as they're entered or changed. The only thing that I can think of that happens every few days is that the database gets re-indexed. I have a little backup application that they run every morning that packs the database and then backs it up. Since they don't mark records for deletion every day (and if there's nothing to delete the re-indexing doesn't happen) I'm thinking that this may be when the memo data gets deleted. That's the only type of file maintenance that happens on a regular basis.

          I haven't a clue what's going on - I added a new "memo" field - it's actually a long character field - and told everyone to use that field for notes for the time being.

          I'm seriously considering returning this version and going back to Windows 98 on the server. In addition, to this problem, I'm having a horrible time with the printer drivers. That's another problem for another day, though.

          Thanks for your help. Please let me know if you think of anything else.

          Linda

          Comment


            #6
            RE: Missing Memo Fields

            Linda,

            Is there any possible way another user would ever have a chance to delete and re-enter a record in your DBF? If this happened, the link to the memo field in the DBT would be broken.

            Have you verified that when you enter a new record, including memo field text, that it's visible at other workstations?

            I think it's possible you misunderstood my earlier suggestion. I would design the data entry routines so that no one ever spends time filling in the fields while a new record is pending. If a new record is needed, I would create it and then immediately save the empty record to disk... especially if I were using an autoincrement field rule to distinguish my records. Then I'd immediately continue edits using 'change' rather than 'enter'.

            -- tom

            Comment


              #7
              RE: Missing Memo Fields

              Tom,

              Thanks so much for your help here. I'm confused - you mean if someone deletes a record and then re-enters that data into a new record the DBT file breaks? That doesn't make sense. All the users have the ability to mark a record for deletion. I sure hope I'm misunderstanding here, because how else do you delete records? Plus, this problem only started happening when we changed servers, and people were deleting records way before that with no problem.

              As far as seeing the record on another workstation - yeah, I tried that and the record (and memo data) appear on the other workstations.

              When the users enter data, they're usually on the phone with the person and filling in the data as they're talking - the chance that somebody else would try to access a new record is pretty slim. Nobody knows that the record exists until the record is saved.

              The memo fields never come into play until the record's been in the database for sixty days (it's a collection field). When the memo information disappears, it doesn't just happen to one record, it happens to them all!

              This is what our computer geek suggested - he said to copy the database to a local drive running on Windows 98 and just do what we normally do. See if I can "make" the database erase the memo fields. What do you think?

              Thanks again for your help.

              Linda

              Comment


                #8
                RE: Missing Memo Fields

                Sorry about the confusion.

                I meant simply that if a second user deletes a record from your database and then re-enters a record in the same position (using the same index key value) the original memo field text will be lost. Your problem sounds different.


                Since you're not losing the text from the memo field on isolated records... you say you're losing all the memo field text in all records at one time... I think this sounds like a problem managing the dbf and dbt files themselves. Have you looked at the DBT file to see whether it's truly empty ( i.e. zero bytes long) ?

                Another wild idea:
                If you move the dbf and ndx files to another drive or folder, and begin using it, I think Alpha Four will create the dbt for you. If this is right, it will be created empty, of course. Could something like this have happened?

                Yet another crazy question:
                If your dbf and dbt files were in one folder, and you backup the dbf (but not the dbt) files to a second folder... what would happen if a restore from the second folder occurred? You'd wind up with a current dbf, but the dbt would be empty since it was never backed up. Could something like this be going on?


                If possible, you might benefit from reorganizing your table structure. Instead of using a memo field in the same database as the rest of your data, you could create a second database, just for the memo field text, including a second field to be used to link back to your main database. Then create a set using a one to one link between the main database and the new table. Once the second table is populated with linking keyfield values and the existing memo field text, you'd drop the memo field from the main database entirely.


                -- tom


                Comment

                Working...
                X