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

A general newbie question

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

    A general newbie question

    I'd like to write a fairly complex xbase app, and am looking for the best tool. I'm a non-programmer. My database work has been done in Access using macros. I've just ordered a copy of Alpha 5 which should be delivered today. I'm giving it a shot because it's supposedly so easy.

    There sure seems to be a lot of coding discussion here for an app that sells itself as easy.

    #2
    RE: A general newbie question


    That's because this is where those who have decided to wander into the programming swamp hang out.

    Saying that Alpha is easy must be taken in the context of other database products. There is a learning curve, even if you aren't programming. Some features aren't easy to find when you are first learning the program.

    What IS true is that you can do more with less effort than with any other product I know of. Some are easier to use but run out of features. Some have more features but you have to program to access most of the power. There are also features that other programs have that I really wish were present in Alpha. Alpha is still the product I use.

    You can do a lot in Alpha with the features that are simply built in to the program -- no macros, programming, etc. You can do a fair amount of basic automation with nothing more than Alpha's button genie. You can do a lot more with the action scripting. You can record most actions with the script recorder. None of this requires programming knowledge on your part.

    Some of it depends upon for whom you're developing you application. Some of the folks you see here are developing applications they are selling to others and the training level of those using the software is low or unknown. The app has to be fairly bullet proof. They may rely upon programming to knock off the rough edges and lock things down better. If you're doing an app for yourself or for co-workers where you control the training, you can get by with a few more rough edges.

    Comment


      #3
      RE: A general newbie question

      Tom,

      To me Alpha Five's distinguishing characteristic is flexibility coupled with a robust feature set.

      Alpha Five includes a 'built in' database management system which can be easily used to build stand alone databases on your pc. Working within the Alpha Five 'Control Panel' you can design your forms, build your reports, mail merge letters, and labels. All with little or no programming.

      If you plan to build something for others to use, or plan to install your database on a network other considerations come into play. It probably will be necessary for you to learn key portions of the xbasic scripting language so you can build a seamless interface for your 'users'.

      Many of the messages in this forum involve folks who are building databases for others to use. You see very few questions dealing with the 'Control Panel' interface for individual databases because, I suspect, it's so easy to use.

      -- tom

      Comment


        #4
        RE: A general newbie question

        I would plan to sell the product to others. Hopefully it arrives via Fedex today and I have my weekend plans set!! I don't mind a little coding. Just don't want to code everything.

        Comment


          #5
          RE: A general newbie question

          not even close.

          Comment


            #6
            RE: A general newbie question

            Hey, got my A4, opened it up and the control panel is almost like Access. It was like old home week. I feel better already!!

            Comment


              #7
              Where are the files

              Okay, I'm playing with my program and reading through the manual (in Word) the hard copy is on back order. And so far I am very pleased.

              Here's a question that's been haunting me and I haven't stumbled across the answer yet. Where does A5 store the location of the .dbf files? The files themselves are separate from the .adb, yet somehow the adb knows where the files are, and when they've been moved. But I've looked at can't find it.

              Certainly that info must be available.

              Also, can you reference a file by a UNC rather than a drive letter?

              Comment


                #8
                RE: Where are the files

                Tom,

                Your database "name.adb", "name.alb", etc are the definition of your database and contain the file location info.

                More specifically if you use the

                A5.table.enum() method

                you can obtain a list of the "tables" in the current "database".

                Search this message board on "enum()" for a fuller discussion.

                Stan
                There can be only one.

                Comment


                  #9
                  RE: Where are the files

                  Tom:

                  One key to databasing in A5 is to keep all the files related to a given application in the same folder or subfolder thereof.

                  You CAN spread things around among different folders and, on the local development machine, A5 will keep unerring track of the file locations. However, if you subsequently move the adb file folder and its contents to a different drive or computer and fail to move all associated folders AND maintain exactly the same path structure, the app will be deeply confused and, in all probability will not function correctly.

                  So for now put everything in the same folder.

                  Finian
                  Finian

                  Comment


                    #10
                    RE: Where are the files

                    BTW, the file locations and general database settings are stored in the ADB file; scripts, toolbars and menus are stored in the database data dictionary i.e. the alb alm and alx files.

                    Finian
                    Finian

                    Comment


                      #11
                      RE: Where are the files

                      Trust me, I'm a big believer in keeping the data files together and seperate from the program files and dll's etc.

                      Still curious about the UNC question and.....

                      If you are setting up an app to sell to various customers, and the data will be on a shared network drive. That drive will be mapped differently at each site. Assuming you are giving them a runtime version, is that a problem?

                      (I haven't looked up the enuc() function yet.)

                      Comment


                        #12
                        RE: Where are the files

                        The app basically doesn't care if it's opened with the full program or the runtime. The only difference between them is that in the runtime various editing features are disabled.

                        As far as drive mapping on a network is concerned, it's probably a good idea to make sure that all workstations "see" the shared network data folder as the same drive i.e. that every workstation maps the datafolder as the P: or Q: drive.

                        Optimal network performance requires "shadowing" the database to the workstation.

                        Finian
                        Finian

                        Comment


                          #13
                          RE: Where are the files

                          Tom,

                          I don't believe A5 can use UNC.

                          I have an app designed for networks that I hope to sell to companies using project management. To install it, there are two installation routines - one to install the network files and one to install the files to the user's local system. (Both are on CD but the recommended method is to copy the user's install program to the network and run it from there.) The trick I came up with for allowing different drive letters is that the user's installation routine creates a number of icons on the Start/Programs menu that are used for the initial setup for the network optimization (shadow files). Once the initial setup of network optimization is completed, the installation icons can be deleted (which is very easy on Win98 but a bit tougher on Win95).

                          Some things to do which may help understand the above:
                          1. Read about command line options for starting applications.
                          2. Read about network optimization - it makes a network application run almost like it was running from the local system. (See also the 'Code Archive(?)' on this bulletin board for a discussion about automating the network optimization - this definitely requires coding!)
                          3. Come to the convention on Dec. 1 - I'm sure you'll learn a LOT there!

                          Also, be aware that A5 uses separate files for data vs. reports, forms, letters, etc. This may seem odd or even backward to an Access user but it allows A5 users to update an application off-site. When done, only the files containing the changes need to be copied to the user's system - no data will be affected and the interruption for the user is only a few minutes. I have a non-A5 full time job that starts at 8:00 and I often schedule updates for customers at 7:30 so I can be done in time to get to my regular job.

                          Exception: If the table structure itself is changed then the user's table will have to be modified before copying the new files. HOWEVER, (a) most of my updates are for reports, etc. and don't need table structure changes and (b) table structure changes don't take long if you already know what needs to be done -it is still much faster/cleaner for the user if you can make and test all the updates off-site then update his system with only a few minutes interruption.

                          One more advantage to separate files: Without it, I don't see how network optimization would be possible.

                          Welcome to A5,
                          Cal

                          Comment


                            #14
                            RE: Where are the files

                            I don't want to beat a dead horse here, but this is very important to me. I'm trying to replace an existing database app that is sold to schools.

                            Everyone at a school, will see the location as the same. (G:database or J:Database)

                            But from school to school it will vary.

                            So, it's important to me that I'm able to change the location of the files for each site I sell it to.

                            If fact if I develop it looking at files on my C drive, I need a way to switch the location to another drive.

                            Certainly this must be a factor for other people. This is about a showstopper for me if I can't do it.

                            Comment


                              #15
                              RE: Where are the files

                              Tom:

                              If you move your entire folder to an another drive/path/subfolder Alpha checks the contents of the folder in which the ADB file is located and if it finds all of the components listed in the ADB it opens the database. Based on what you said earlier about always keeping database contenta in one folder, then I don't think you'll have any problems with different locations. It could be the Q drive or a subfolder 5 levels deep, as long as the files are all together, Alpha will open the database.

                              However, Cal has pointed out some of the issues involved in automating the installation of a networked app. You would do well to look at these carefully. We don't deal with these issues in our business since we customize just about every installation .

                              Finian
                              Finian

                              Comment

                              Working...
                              X