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

XML

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

    XML

    I need to be able to read from an XML sorce in Alpha5, anyone been able to do this?

    #2
    RE: XML

    Anthony:

    Something I am expecting to have to tackle in the near future.

    It seems that there are two choices that come to mind.

    The first possibility is to convert the XML to a text file, and try to read it line by line to determine the value of the metatags. This seems awkward, and prone to possible errors, but a possibility...

    The second choice that comes to mind is purchasing a third party package that, once you have mapped the metatags, will convert the XML into, say, a DBF file for import into A5. Once the mapping is done, I would think it would be a simple routine when needed, that could be called from within A5.

    Many programs now export XML, but few import it. It is on the brink of potential, the bridge between the web and the rest of the world, but still ahead of it's time. We will all be confronted by XML (I think), as more and more companies use the web for business applications. I'm gonnna guess this is a large company you are dealing with, perhaps for orders?

    I'll watch to see how this thread develops. Perhaps others have dealt with this already?

    Craig

    Comment


      #3
      RE: XML

      It would be possible to dump the data into a text file, but this is not a one time import I need to do. I need to get real time information to my clients worldwide. I am trying to port a dataflex file based db to function as a SQL database. This is interim until we get our new ERP system functional, but rollout time will be 8 - 10 months. I can use ODBC and XML to do this. I�m able to open a secure XML stream, but I need a front end that can use it. I have been using PHP to create my web apps, but I need a local client that can utilize APIs on the client side for some work that needs to be done. I put down Alpha 5 about a year ago when I was fed up with its limitations. One thing it has got going for it is ease of use though. I was hopping that if I could get it to read an XML stream relatively easily, then I could build my app quickly with it. It would be entirely too time consuming to write an XML interpreter and without it being integrated into the core program it would most likely be slow and sluggish when doing large transactions. I guess I'll have to continue my search. For those who think technology like XML is some thing in the future that you'll never have to deal with, let this be your wake up call. The future is now; technologies such as XML are being used and are unavoidable. No data management system will be scaleable without it. I ask you this, how else are you going to get information to anywhere in the world, do it fast and efficiently and not need to care what's on the other side? XML is the answer, without it, alpha5 will be nothing more than good app to make recipe databases in, and not even that if you wanted to share it on the web!

      - Anthony

      Comment


        #4
        RE: XML

        Who are you, anyway?

        Comment


          #5
          RE: XML

          I work for a 70mil/company and about 80% of the business runs using Alpha 5. Hardly a recipe database I assure you. Unfortuately you are comparing apples to oranges. XML is not taking off as fast you say, otherwise there would be a ton of software guys developing front and back end software for it. I understand your position, but don't knock a great software because it doesn't have extreme capabilities built in. XML is not widely used yet and 98% of people who use Alpha5 would not utilize XML functions. Remember, the is couple hundred dollar software, how much was your MRP? (I am assuming that software can handle XML).

          Comment


            #6
            RE: XML

            Hello Anthony,

            Of course Alpha 5 gonna have limitations. It isn't meant to be Visual.net or Delphi.

            If you want to accomplish anything you want to do with out any type of limitation, them I suggest you try something like Delphi, which is virtually limitless.

            Of course, I did pay over $3,000 for the C/S version, not including an additional $3,500 in VCL components. And this is the just the beginning - no limitations here.

            There really is no database in the market today that would do everthing that you want it to do. What you need is an application development tool, not a database.

            Delphi 7 �D Flat� to compete with �MS C sharp� will be out this year. It will embrace the dot net technology and has no problems with XLM today. Perhaps you could use this technology to create a database that will do all you want to do for under $200.00 dollars.

            If you want no limits, you gonna need to open up your wallet

            RF-ARS-Motorola

            Comment


              #7
              RE: XML

              Anthony,

              There is no simple way of woking with XML using Alpha Five that I know of, however, since you're considering the use of a third party product, Access 2002 (XP version) will most likely solve your problem.

              Although it's not an elegant solution, if I were in your position I would get a copy. Once your ready to go, read in your XML documents using Access. Once in, save them as dBase III. Import into Alpha or read the output files directly.

              When you get ready to send them out as XML again, open the dBase III (Alpha) file with Access and export to XML; voila! (I think).

              It would be fairly easy to create macros (scripts) in both Alpha Five and Access 2002 to automate these things as much as possible.

              Hope this helps.

              Regards,

              Geoff Hollander

              Comment


                #8
                RE: XML

                Anthony,

                I forgot something. Access 2002 costs $395.00 MSRP (you can almost certainly get it for less).

                It also comes with Visual Basic for Applications (VBA), which is basically Visual Basic with some built-in MS Office, connection and database objects for developers' convenience.

                While VBA is a little more complicated to learn than XBasic, there are things you can do with it that you currently cannot with Alpha Five's XBasic language.

                Regards,

                Geoff Hollander

                Comment


                  #9
                  RE: XML

                  A5v5 has a XML export Function.

                  Nick

                  Comment


                    #10
                    RE: XML

                    Cool. Export also?

                    Geoff Hollander

                    Comment


                      #11
                      RE: XML

                      Import?

                      Comment


                        #12
                        RE: XML

                        Can you tell me where and how it works?
                        I cant seem to find it in the current beta version.

                        Thanks

                        Comment


                          #13
                          RE: XML

                          6. New Method: table.xml_export(tablename, filename, [ fieldnames [, filter [, order [ , silent [, open ]]]]]) Exports data to an XML file. Tablename is the name of the table from which records are exported. Filename is the name of the xml file to create. Filter and order control which records are exported. If silent is .t., then Alpha Five does not display a confirmation message before exporting the data, or before overwriting filename. If open if .t., then after the export completes, Alpha Five opens filename with the associated application. The default value for silent is .f., and the default value for open is .t.

                          Comment

                          Working...
                          X