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

DBF vs SQL limitations, SQL migration and rewriting my whole site?...

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

    #16
    Bit pricy, but it may work OK.
    In TOAD, free version, you can import from Excel - (export from Alpha to Excel for example) and create the tables you want.
    Does what Data Pump does, but you may need to concentrate and understand the nuances of SQL in a production situation.
    See our Hybrid Option here;
    https://hybridapps.example-software.com/


    Apologies to anyone I haven't managed to upset yet.
    You are held in a queue and I will get to you soon.

    Comment


      #17
      Unless you anticipate a complex schema structure, there is no need to pay to have this done.
      I would suggest using Alpha to export your data to a .txt or .csv file.
      This ensures your data gets exported as expected (think large numbers or numbers with leading zeroes).

      Ask for help.
      The help from here is usually affordable, and the best way to learn how to do it.
      If you don't want to learn how to do it, I'm sure the cost will be minimal.

      Yes, I absolutely advise using, and use TOAD myself. I've been known to leave on the computers I install
      it on to help setup a mysql database.

      DO NOT hold back information you think is irrelevant if you are having trouble.
      You'd be surprised how often that missing data is the real cause of the problem.

      Gregg
      https://paiza.io is a great site to test and share sql code

      Comment


        #18
        Originally posted by eswindhauser View Post
        I have a ton of xbasic pages written to handle lots of calculations for estimating insurance premiums, APR calculations, creating payment plans etc...


        I think this is the reason for slow performance. I honestly think DBF can handle 20 users without problems. On the other hand DBF is managed in Alpha with xbasic and this is the bottleneck together with lots of ongoing calculations. Maybe you could handle better your traffic using just more Application Server instances.

        Because you have lot of calculations there is lot of waiting in your server. Maybe you could consider using for example this concept discussed in this thread . You can for example forward you server calculation load to an other instance using the concept and bring the result to your main Application Server easily. This will boost your server performance to an other level.

        Comment


          #19
          Clive has a lot of experience with Alpha and all kinds of databases, so you can trust his judgement. Since you are maintaining one application and building another and running two companies, I suggest you keep it simple. You don't have time and don't have the need to learn much more than the basics. What helped me most was seeing examples, and Alpha has some sample databases you can look at. You (or Clive) can install MySQL or MariaDB and Heidi or Toad in about an hour. Build a couple tables, create a connection string and you can start experimenting. First things to learn are data types (google it), then create and change (called "alter") a table, how to read and write to those tables and how to build indexes. All those Xbasic calculation pages you have created can still be used...just a different set of tables, different ways of accessing and writing the data.
          Pat Bremkamp
          MindKicks Consulting

          Comment


            #20
            I use MariaDB, it is fast, reliable, works well and is free. I have a couple of tables with millions of records and have no issues with speed.

            One thing to consider before you start the conversion. Be sure you have a numeric field that will convert to an integer field in MySQL or MariaDB that has a unique number in it. That can then be your primary key field. DBF tables can do auto increment on both numeric and characters fields. MariaDB and MySQL will only do auto increment on a numeric integer field. I don't know about SQL database engines and auto increment. You can, of course, write a routine to overcome that, but I prefer to have the database engine process do the auto increment.

            Before I did the DBF to SQL conversion, I added a numeric field at the end of each table that needed it. Then did the update operation to add a serial number to the newly added field. Then when the table was imported, it became the primary index key. Granted that may require some redesigning when linking tables, but in the end, it's good a good thing.

            Good luck!
            Mike Reed
            Phoenix, AZ

            Comment


              #21
              FYI...All dbf tables have a numeric ID field commonly known as recno().
              It does exactly what an auto_increment column is meant to do, and can be easily exported.
              Gregg
              https://paiza.io is a great site to test and share sql code

              Comment

              Working...
              X