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 application to a new computer

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

    Moving application to a new computer

    Hello All,

    I have a question about moving an application from one computer to another.

    I have my main computer and a laptop. I want to set up A5 on the laptop as a backup and for testing. All the associated files of the database (I believe) are in one folder.

    First question:

    How do I initially set up the application on the laptop so that it has an empty database.

    Next question:

    As time goes on I will make updates to my application, adding fields, changing rules etc. How will the laptop database keep up on the changing definition?

    Also, what steps (and which files) do I copy (and not copy) when i want to put a new application over to the laptop each time I make changes without losing the data that is already there?

    thanks for your time in advance

    marc

    #2
    Marc,

    1. Copy the database folder from the main computer to the laptop (keeping the folder names the same on both computers works best). I use a USB flash drive for this.

    Originally posted by Marc Reicher
    2. How do I initially set up the application on the laptop so that it has an empty database.
    marc
    2. Load the database on the laptop, open the control panel, click on Table on the Alpha menu bar, Utilities and then Empty the Table. Check the Pack table after emptying? checkbox (this will get rid of the space that the just deleted records took up). Repeat for all the tables and when you are done, the laptop will have the same database, but all the tables will be empty.

    Originally posted by Marc Reicher
    3. As time goes on I will make updates to my application, adding fields, changing rules etc. How will the laptop database keep up on the changing definition?
    marc
    3. There are a number of ways to do this, but I find the easiest way is to copy the entire folder from the main computer to the laptop and name it "name_11_30", substituting your name for 'name' and the then current date for '11_30'. This works best for me with the added advantage that I can go back to the previous (or older) copy of the database.

    Originally posted by Marc Reicher
    4. Also, what steps (and which files) do I copy (and not copy) when i want to put a new application over to the laptop each time I make changes without losing the data that is already there?
    marc
    4. Not sure what you mean here. If you are talking about copying an update to a database from the main computer to the laptop, 2 answers that. If you are talking about a different database, just copy it as I explained above in 1 above.

    Good luck
    Last edited by davej; 11-30-2005, 05:41 PM.
    Dave Jampole
    www.customalpha.com

    Women and cats will do whatever they want. The sooner men and dogs realize that, the happier they will be.

    Comment


      #3
      Moving application which has several folders?

      Dave, my problem is similar to Dave's except that I have my application drawing from several folders. I would prefer to consolidate into one folder, since the other folders are no longer used fro their original use, but merely copying them to the applcation did not move the data. The application still goes to the older folders.
      I've had the church library on my computer for years, but it is now time to move it to the church where I can train some one to take it over. I have licenses for both home and the church.
      My application got messed up a couple of time in the past by power failures and a mother board meldown and I am now replacing my C drive.
      As far as I can tell, I've got a mess here.

      Comment


        #4
        Moving Application to Another Computer

        Clifford,

        Having an application (current PC term is database) drawing data from tables in multiple folder is, at best, problematic. You should copy everything relating to the specific database (the tables, memo files, etc.) into the same folder. Use Windows Explorer to do that. When you are done, open the application, go to the control panel and click on the Tables/Sets tab.

        Anywhere on the white space, right click the mouse and select Add Table/Set.... You will see a list of all the tables in the current folder. Select the tables you want from the left side and add the to the right side. When you are done, click OK and close the dialog. Now, on the CP, you will see the tables that you just added to the database. Adding tables in this manner is different from just copying them into the folder.

        You should now be able to access the just added tables just like any previously existing tables. Test the access until you are comfortable that everything works as it should. What you might want to do is navigate to the 'older' tables wherever they reside and rename them. I usually add an 'x' as the first letter of the name. Test the database again and, if anything is still looking back to the old folder, you should get an error message telling you that the file doesn't exist, or cannot be found. You might have some minimal cleaning up to do, but it shouldn't be much.

        When everything works, you can then delete everything that you added the 'x' to.

        When you replace the C drive, make sure you name the new drive exactly the same as the old one, or Alpha will choke. Assuming you are running Windows XP, click Start, Control Panel, System and on the System Properties window, click on the Computer Name tab.

        If you have any problems, give me a call and I'll do my best to talk you through the process - 318-949-4342 - I'm in the CTZ (Louisiana).

        Dave
        Dave Jampole
        www.customalpha.com

        Women and cats will do whatever they want. The sooner men and dogs realize that, the happier they will be.

        Comment


          #5
          As time goes on I will make updates to my application, adding fields, changing rules etc. How will the laptop database keep up on the changing definition?

          Also, what steps (and which files) do I copy (and not copy) when i want to put a new application over to the laptop each time I make changes without losing the data that is already there?
          Marc --

          I have been developing an application on one computer and testing it on another for about a year. As long as you don't add new tables or fields, you can use the standard backup utility in A5 (Tools, Backup/Restore in Control Panel), but only back up the application files -- (uncheck the data files) -- and then restore the application files on your laptop. Your previous test data should remain.

          If you add tables or fields on your development computer, then you must also add them on your test computer. You can do this manually or you can do it programatically. I found an Xbasic routine in the help files which I copied and put on a button. Whenever I add a new field, I programatically add the field using a5_add_fields_to_table(). You might look this over in the help files.

          -- Dick James

          Comment


            #6
            Dave, thanks. I have them all in one folder now, EXCEPT one. I have not been able to copy/move/add etc. this one dbf. I'm giving up now. I've got to move on to getting this application onto another computer.
            Thanks again.

            Comment


              #7
              Dave, more problems. When I used backup to create a copy to transfer to my second computer, and then used restore, the OLD, not wanted folders showed when listing details in the "tables" display.
              Does this mean that I was not successful in moving the files in the first place?

              Comment


                #8
                Moving Application to Another Computer

                Clifford,

                Originally posted by cawalton1
                Dave, more problems. When I used backup to create a copy to transfer to my second computer, and then used restore, the OLD, not wanted folders showed when listing details in the "tables" display.
                Does this mean that I was not successful in moving the files in the first place?
                If the old unwanted folders show along with the newer wanted folders, the restore was successful, or you wouldn't see the new file names.

                In the CP, you can right click the tables/sets that you do not want and select 'Drop Table from Database' and that will get rid of them.

                Assuming both computers are running the same OS and both have a copy of A5V6, I woluld suggest that you either use a USB flash drive, or do the transfer across your home network (if you have one). I've never personally used backup/restore (one reason being that the only drives that seem to be available are drive A and any installed hard drives), so I can't speak to any possible issues using that method. I do know that if you use a CD as the transfer medium, some of the files are set to 'Read Only' and you have to change that. All in all, I've just found that copying to/from a USB drive is simple and fast - especially when the two computers are not co-located.

                Dave
                Last edited by davej; 12-08-2005, 11:36 AM.
                Dave Jampole
                www.customalpha.com

                Women and cats will do whatever they want. The sooner men and dogs realize that, the happier they will be.

                Comment

                Working...
                X