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

Mysql or Sql Server to Native Alpha DBF

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

  • Mysql or Sql Server to Native Alpha DBF

    What is the main difference in using mysql or sql server as backend to native dbf? In Saving and retrieving data in particular, is alpha native dbf faster for the desktop app than using mysql or sql server? well, i have a bad experience in Ms access as the backend, I use active or passive link in Alpha five, but then undesirable behaviors came out when i tried using sets, but when i created the same table structure manually in alpha five in another alpha database, i get the desired results.Thank you!

  • #2
    Re: Mysql or Sql Server to Native Alpha DBF

    sql(most any flavor) is great if you are going to go web at anytime. Dbf is great for desktop and a real good candiadte if you are going to send the app to others at some time. If I were going to build a web based app or were going to use a server and html type files on a lan with no future sales of the app, then sql. If I had thoughts of packaging my app for distribution, then dbf. I personally can get more done faster and access to data seems faster with dbf on a desktop.

    I am not knocking either one at all. Alpha does both very well in certain areas.
    Dave Mason
    dave@aldadesktop.com
    Skype is dave.mason46

    Comment


    • #3
      Re: Mysql or Sql Server to Native Alpha DBF

      I think your experience is a common one. Active link tables are OK by themselves but when linked into sets perform very poorly, making them, to my mind basically unusable. If others have had a different experience I'd love to hear about it and how the improvements were accomplished.

      The knock-on effect of this is that you can't build effectively usable forms to interface with the active-link tables/sets leaving you with the only option of creating xdialogs as your user interface. You can duplicate most form features in xdialogs fairly easily but getting to an xdialog with menus and toolbars etc is more complex and more effort than you may want to expend. With xdialogs, someone wanting to use MySQL or any other back-end database can embed all the SQL needed in xbasic code and have complete control over the back end. Of course you also have to learn the ins and outs of server database administration, but that's another story.

      The advantages of a MySQL over native dbf's are not that obvious, at least initially. In general, though, it's probably fair to say that the MySQL type databases scale better to hold very large numbers of records, can reliably embed image and other file types into their table structures giving a greater level of data security and, in general, can be made more secure than native DBF's can be.
      Finian

      Comment


      • #4
        Re: Mysql or Sql Server to Native Alpha DBF

        Thank you Dave and Finian for sharing your Opinion, I really love to use native dbf's, The reason i asked was, if alpha five can be used to access and manipulate an sql server then it would be better because if a client wants to manipulate it in Visual Studio .net then it would be an advantage for them. But i will try if dbf's can also be possible to control in visual studio. Appreciate your help!

        Comment


        • #5
          Re: Mysql or Sql Server to Native Alpha DBF

          Originally posted by Finian Lennon View Post
          I think your experience is a common one. Active link tables are OK by themselves but when linked into sets perform very poorly, making them, to my mind basically unusable. If others have had a different experience I'd love to hear about it and how the improvements were accomplished.

          The knock-on effect of this is that you can't build effectively usable forms to interface with the active-link tables/sets leaving you with the only option of creating xdialogs as your user interface. You can duplicate most form features in xdialogs fairly easily but getting to an xdialog with menus and toolbars etc is more complex and more effort than you may want to expend. With xdialogs, someone wanting to use MySQL or any other back-end database can embed all the SQL needed in xbasic code and have complete control over the back end. Of course you also have to learn the ins and outs of server database administration, but that's another story.

          The advantages of a MySQL over native dbf's are not that obvious, at least initially. In general, though, it's probably fair to say that the MySQL type databases scale better to hold very large numbers of records, can reliably embed image and other file types into their table structures giving a greater level of data security and, in general, can be made more secure than native DBF's can be.
          Alpha Five will be very very powerful if it can effectively create a reliable user interface based on sets in Other databases like MYSQL other than native dbf's.

          Comment


          • #6
            Re: Mysql or Sql Server to Native Alpha DBF

            Originally posted by JetLi View Post
            Alpha Five will be very very powerful if it can effectively create a reliable user interface based on sets in Other databases like MYSQL other than native dbf's.
            http://msgboard.alphasoftware.com/al...l=1#post602225
            Al Buchholz
            Bookwood Systems, LTD
            Weekly QReportBuilder Webinars Thursday 1 pm CST

            Occam's Razor - KISS
            Normalize till it hurts - De-normalize till it works.
            Advice offered and questions asked in the spirit of learning how to fish is better than someone giving you a fish.
            When we triage a problem it is much easier to read sample systems than to read a mind.
            "Make it as simple as possible, but not simpler."
            Albert Einstein

            Comment


            • #7
              Re: Mysql or Sql Server to Native Alpha DBF

              I read the post by Selwyn, but no cigar. I purchased the up-size genie and successfully upsized a small DBF application [1 set, 4 tables, and few records]. It's not only too slow to be practical, but embedded browses, and pop-up forms often do not update properly. I set a where clause on the parent table as Selwyn suggested, but it made no difference.

              Based on my experience, and on reading many posts by others who had the same outcome, it seems foolish to continue to defend active linked tables with sets. They simply do not work.
              Carl C. Smith, Jr.

              Comment


              • #8
                Re: Mysql or Sql Server to Native Alpha DBF

                So the conclusion is not to use SQL Server or MYSQL in a desktop app? although it can be BUT for speed and accuracy is greatly affected? The reason why I'm considering and will try to use alpha using sql server as the backend is that client already have existing sql server database and they want to add some more data entry on it since the previous programmer is asking for tooooo much price just for an additional data entry.Also, they want in the future to let others modify just in case i will also ask for higher price for a modification of their existing app.Which i think is of great advantage to them.

                Comment


                • #9
                  Re: Mysql or Sql Server to Native Alpha DBF

                  So the conclusion is not to use SQL Server or MYSQL in a desktop app? although it can be BUT for speed and accuracy is greatly affected?
                  UNLESS you are willing to learn/write xdialog. Xdialog doesn't need active-link.
                  Peter
                  AlphaBase Solutions, LLC

                  Peter@AlphaBaseSolutions.com
                  https://www.alphabasesolutions.com


                  Comment


                  • #10
                    Re: Mysql or Sql Server to Native Alpha DBF

                    Maybe there should be a thread on where to put the Do's and Dont's, Tips and tricks in different areas of alpha five development for alpha for beginners, intermediate as well as experts as reference today and in the future, so that we will be guided on how to accomplish things based on the previous experience of certified alpha developers. Issues like, "In a set, do not put too many tables to be a super set,It is not advisable to do all the data entry on all tables in a single form for multi-user, single user could be" or maybe "do not make your table names longer than 10 characters" or the one suggested by Peter, which is "TO BE ABLE TO HAVE A GOOD APPLICATION ACCESSING SQL SERVER YOU MUST LEARN XDIALOG SO THAT THERE ARE NO ACTIVE LINKS", "SETS ARE VERY POWERFUL IN NATIVE DBF BUT PROCEED WITH CAUTION IN SQL SERVER OR MYSQL",somethings like this will be of great help for beginners to learn alpha and be guided accordingly. this is just an opinion and I hope moderators will consider a thread title like TIPS and TRICKS and DO's and DONT's Archive.
                    Last edited by JetLi; 03-11-2012, 03:55 AM.

                    Comment


                    • #11
                      Re: Mysql or Sql Server to Native Alpha DBF

                      Originally posted by Peter.Greulich View Post
                      UNLESS you are willing to learn/write xdialog. Xdialog doesn't need active-link.
                      Peter, Quoting carclay "Based on my experience, and on reading many posts by others who had the same outcome, it seems foolish to continue to defend active linked tables with sets. They simply do not work. "
                      Is it really proven that using active links in alpha to access sql server or mysql is very slow? Or, maybe we have not done the right thing? Please confirm. Thanks much!

                      Comment


                      • #12
                        Re: Mysql or Sql Server to Native Alpha DBF

                        Originally posted by JetLi View Post
                        Peter, Quoting carclay "Based on my experience, and on reading many posts by others who had the same outcome, it seems foolish to continue to defend active linked tables with sets. They simply do not work. "
                        Is it really proven that using active links in alpha to access sql server or mysql is very slow? Or, maybe we have not done the right thing? Please confirm. Thanks much!
                        JetLi,

                        You should do some experimenting and see how it works for you. Then maybe you can teach all of us a thing or two. Suggestion, it may be wiser rather than use sets to use views as your active link tables.
                        Peter
                        AlphaBase Solutions, LLC

                        Peter@AlphaBaseSolutions.com
                        https://www.alphabasesolutions.com


                        Comment


                        • #13
                          Re: Mysql or Sql Server to Native Alpha DBF

                          Thanks Peter, before replying to the thread I tried coz it's not working for me, being a beginner, I thought that I have done something wrong that's why things are not working well when it comes to other backends like sql server, access and mysql. But for DBF's no problem.

                          Comment

                          Working...
                          X