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

Moving tables etc from A5V4.5

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

    Moving tables etc from A5V4.5

    Hi,
    I am upgrading from A5 V4.5, and wish to move the tables, forms, etc into A5 V6.
    I open a new database, and then "add tables" from the location they were in.
    I get a warning saying that I am putting them not into the best location - the "adb".
    I wld appreciate any help on this, and other problems I may have with upgrading.

    Brian

    #2
    RE: Moving tables etc from A5V4.5

    1) Create a backup copy of your A5v4.5 app
    2) Open the application in A5v6
    3) Test your application and fix any problems that occur


    There is no real concept of 'upgrading' from v4.5 to v6...it all should just work. There is absolutely no reason to create a new ADB and readd all the tables. If you want to have a separate copy for v6, just copy the whole thing to a new folder and then open the adb in v6.
    Aaron Brown
    Alpha Software Development Team

    Comment


      #3
      RE: Moving tables etc from A5V4.5

      Hi Aaron,
      Thanks for the advice. I did as you suggested, and the tables and browses opened, but all the forms did not - after an error message about one of them, the first which would have opened.

      Brian

      Comment


        #4
        RE: Moving tables etc from A5V4.5

        Aaron is correct for nearly all situations. About the only A5V4.5 code that might cause a problem in A5V6 is any code using an array. In A5V4, arrays were typically dimmed used parenthesis

        dim a_array(10) as c

        This will not work in A5V6. In A5V6, the convention is to use brackets.

        dim a_array[10] as c

        If you haven't used arrays anywhere, just follow Aarons instuctions and copy the whole folder somewhere else and just open it in A5V6. Everything should work just fine. If you have used arrays, Cal Locklin has a nice little utility called "Fix Array Brackets" that is cheap and works very well. You can search the forum for how to contact him if you need it.

        Jerry

        Comment


          #5
          RE: Moving tables etc from A5V4.5

          Hi Jerry,
          Thanks for the help.
          I haven't used arrays in version 4.5 I have tried it again with the same result, Ver 6 does not like the forms I had in Ver 4.5

          Now, in the list of "databases/tasks" it has two databases with similar names as my database in ver 4.5 How do I remove these, as I think they may cause future confusion.

          The forms I have/had in Ver 4.5 were pretty time consuming to do, with some scripting. I do not want to lose them if possible.
          Thanks again for your time,
          Brian.

          Comment


            #6
            RE: Moving tables etc from A5V4.5

            Brian,

            I am also in the process of upgrading an app from V4.5 to V6.

            If you have two tables with the same name in the control panel, check the folder name where each table is located and simply DROP the table that is not going to be used in V6. Thsi will also remove all forms and layout associated with that table.

            The easy way to do this is to copy all the files from the V4.5 app into a new folder to be used by V6 only. You will get error messages but they will help you get things right for V6.

            One problem I found was that if a field was in a frame on a form in 4.5 when copied to V6 I could not enter data. After I deleted the frame and replaced it data entry was restored. Dont ask how long that drove me nuts till I found how to fix it.

            Remember there is no going back, V4.5 cannot read V6 forms and layouts.

            RegardsKeith HubertAlpha Guild MemberLondon.KHDB Management Systems
            Regards
            Keith Hubert
            Alpha Guild Member
            London.
            KHDB Management Systems
            Skype = keith.hubert


            For your day-to-day Needs, you Need an Alpha Database!

            Comment


              #7
              RE: Moving tables etc from A5V4.5

              Hi jerry,

              I haven't used arrays.

              I now have two versions of the database from ver4.5 in my list of databases on ver 6, with similar but different names, having the same tables. I am concerned that it may cause future problems. How do I remove them, any ideas ?

              I do not want to lose the forms from ver4.5 that I had/have. There is a lot of work there. Any ideas how I get to use them ? An idea I have is that I did make them fill the frame; could that be causing the problem if the Ver6 frame is not the same size ?

              Thanks for your help.

              Brian

              Comment


                #8
                RE: Moving tables etc from A5V4.5

                The only way you could have 'lost' your forms is if you didn't copy all the files, especially the .ddd files. Forms and reports are stored in the .ddd file of a table.
                Aaron Brown
                Alpha Software Development Team

                Comment


                  #9
                  RE: Moving tables etc from A5V4.5

                  after you open the database, open one of the forms that is not working correctly in design mode, and figure out whats going on - maybe a script in onactivate or oninit may be causing a problem.
                  Cole Custom Programming - Terrell, Texas
                  972 524 8714
                  [email protected]

                  ____________________
                  "A young man who is not liberal has no heart, but an old man who is not conservative has no mind." GB Shaw

                  Comment


                    #10
                    RE: Moving tables etc from A5V4.5

                    Hi Martin,
                    No forms appear in the database, that is the problem. How would I open a form ?

                    Brian.

                    Comment


                      #11
                      RE: Moving tables etc from A5V4.5

                      Brian, did you read my post above?

                      If no forms exist, it is likely that you only copied the .dbf files around and not the .ddd, .ddm, etc files.
                      Aaron Brown
                      Alpha Software Development Team

                      Comment


                        #12
                        RE: Moving tables etc from A5V4.5

                        Aaron,
                        I read your post above.
                        It may be that I am messing up completely, but what I did was to install A5 V6 from download. Then :-
                        On the list of directories and files from the "my computer" on the desktop, I copied the subdirectory with the tables and application in V4.5 into a new subdirectory under V6 and renamed it.
                        As of yesterday, that seemed to work; with the exception that when I opened that database in V6 I got an error message saying error in the principal form which is set to display on opening the database, and no forms appear in the database - so I cannot correct them.
                        Thinking that maybe I messed up, I elinated that new directory, and repeated my actions above today.
                        Now V6 will open only the old database which is a subdirectory of V4.5, but not the new one which is a subdirectory of V6. Looking from the file/directory listing those two subdirectories appear the same with the same files. V6 will open the subdirectory, presumably from the V4.5 directory but still displays the error on opening and the database has no forms.
                        The ddd and ddm files appear in both subdirectories, as viewed from the directory/file listing. Maybe V6 is trying to open the forms, finds an error in maybe all of them - from it's viewpoint - and then refuses to include them in the database.
                        I am more concerned now, as V6 refuses to open ANY files in the new directory. So any alterations that I may do will be to the subdirectory under v4.5, and I somehow think that it would be better to have the database(s) in a subdirectory of V6 for V6 files ?
                        If it makes any difference it is using Portuguese keyboard and operating system in Win ME.

                        Sorry to take so much of your time, and thankyou.

                        Brian Dennis.

                        Comment


                          #13
                          RE: Moving tables etc from A5V4.5

                          Can you post (or send me) your application for me to take a look at?
                          Aaron Brown
                          Alpha Software Development Team

                          Comment


                            #14
                            RE: Moving tables etc from A5V4.5

                            Aaron,
                            I will try to do that tomorrow from work.
                            Brian.

                            Comment


                              #15
                              RE: Moving tables etc from A5V4.5

                              Aaron,
                              Hopefully this should be the application, it is far from doing much yet.

                              Comment

                              Working...
                              X