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

Passenger Seating Dbase

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

    Passenger Seating Dbase

    I'm trying to develop a basic database for an airline type functionality. I'm quite new to Alpha Five and have some experience with Filemaker in the past. I'm pretty much after some advice on the feasibility or best method to go about this. This is what I'm after:
    • I will be inputting a route (eg A-B-C-D)
    • I will input a passengers first name, last name, passport number and select the route they are flying. (eg A-D, or B-D)
    • I'd like a graphical representation of the seating available.
    • I'd like to be able to either drag the passenger to the picture of their seat, or enter the seat number in the passengers details.
    • I'd then like the seat to show who is sitting there and their details as well as changing color to show the seat is occupied.


    I know it sounds like a lot.

    I hope someone can offer some advice.

    Thank you.

    #2
    Re: Passenger Seating Dbase

    Nathan,
    How many seats are we talking about? How many different seating "patterns" would there be? The seating pattern of a Beoing 737 is very different from a 757.

    Everything you describe is doable EXCEPT the dragging a passenger to their seat.
    Mike W
    __________________________
    "I rebel in at least small things to express to the world that I have not completely surrendered"

    Comment


      #3
      Re: Passenger Seating Dbase

      Hi Mike,

      There is a demo of a Hotel Reservation application that has drag fields in it but no one has yet shared the code for it.

      It is in Richard's Blog
      Last edited by Keith Hubert; 02-25-2009, 10:57 AM.
      Regards
      Keith Hubert
      Alpha Guild Member
      London.
      KHDB Management Systems
      Skype = keith.hubert


      For your day-to-day Needs, you Need an Alpha Database!

      Comment


        #4
        Re: Passenger Seating Dbase

        Thanks Keith,
        I stand corrected. It seems that is demoing a web based application? Very cool. However, I am thinking this being posted on the desktop area, Nathan is looking for that. Is AJAX available to desktop?
        Mike W
        __________________________
        "I rebel in at least small things to express to the world that I have not completely surrendered"

        Comment


          #5
          Re: Passenger Seating Dbase
          • I will be inputting a route (eg A-B-C-D) No problemo
          • I will input a passengers first name, last name, passport number and select the route they are flying. (eg A-D, or B-D) No problemo
          • I'd like a graphical representation of the seating available. You can scan in an image and use a bmp as either a form background - or as an bmp object. Then place hotspots on top of the seats to toggle your reservations on or off, etc.
          • I'd like to be able to either drag the passenger to the picture of their seat, or enter the seat number in the passengers details. As said by others, A5 does not support D&D. The web app Keith refers to is a custom web AJAX job.
          • I'd then like the seat to show who is sitting there and their details as well as changing color to show the seat is occupied. If you use a scanned image, obviously you wont be able to change the seat colors, per se. You could place objects on top of the seats (buttons, text objects, frames, etc) and control the colors that way. I don't believe it is practical to show passenger info on the seat due to space limitations. But you could have a browse below the graphic listing seat nos and passenger info.
          Peter
          AlphaBase Solutions, LLC

          [email protected]
          https://www.alphabasesolutions.com


          Comment


            #6
            Re: Passenger Seating Dbase

            Hi Guys,

            Unless I am getting this all wrong, it is using AJAX in a web browser which is being used on the desktop.

            Which as I understand it, this can be used on a single machine or the WWW if that is required.
            Regards
            Keith Hubert
            Alpha Guild Member
            London.
            KHDB Management Systems
            Skype = keith.hubert


            For your day-to-day Needs, you Need an Alpha Database!

            Comment


              #7
              Re: Passenger Seating Dbase

              Thanks for the tips guys. Instead of the drag and drop, Im going to settle for entering the seat number manually.

              So far I've created a Browse in which you enter the persons name, route (eg A-C) and seat number.

              Peter, could you please explain in more detail how I would set up a placeholder, and have it change color etc, if it is entered into the seat field on the browse? I'd like a different color for each route if that's possible :)

              Thanks again

              Comment


                #8
                Re: Passenger Seating Dbase

                Originally posted by nathanashton View Post
                Peter, could you please explain in more detail how I would set up a placeholder, and have it change color etc, if it is entered into the seat field on the browse? I'd like a different color for each route if that's possible :)
                Nathan,

                See attached sample...


                EDIT: Nathan, check out BOTH forms...
                Last edited by Peter.Greulich; 02-25-2009, 08:27 PM.
                Peter
                AlphaBase Solutions, LLC

                [email protected]
                https://www.alphabasesolutions.com


                Comment


                  #9
                  Re: Passenger Seating Dbase

                  Hi Nathan,

                  To change a colour of a field in a browse select properties, Setup tab, then select Font Equations. Now you can change the colour dependant of the value of the field.

                  Using Peter's code, you could put a button on a browse to change the colour of a Row or field in the browse.
                  Last edited by Keith Hubert; 02-25-2009, 08:14 PM.
                  Regards
                  Keith Hubert
                  Alpha Guild Member
                  London.
                  KHDB Management Systems
                  Skype = keith.hubert


                  For your day-to-day Needs, you Need an Alpha Database!

                  Comment


                    #10
                    Re: Passenger Seating Dbase

                    Originally posted by Keith Hubert View Post
                    Using Peter's code, you could put a button on a browse to change the colour of a Row or field in the browse.
                    Keith, I updated my sample to include a browse. You just enter the route no and the browse OnSave event does the rest.
                    Peter
                    AlphaBase Solutions, LLC

                    [email protected]
                    https://www.alphabasesolutions.com


                    Comment


                      #11
                      Re: Passenger Seating Dbase

                      Hi Peter,

                      That looks very interesting.

                      Are you suggesting that Nathan has over 400 little spots (for a 747) on a form and each spot changes colour when it gets booked?

                      So Nathan could have several Seating layouts on conditional layers for each plane layout, 737, 747 etc.

                      Sure is going to take some coding! But doable.
                      Regards
                      Keith Hubert
                      Alpha Guild Member
                      London.
                      KHDB Management Systems
                      Skype = keith.hubert


                      For your day-to-day Needs, you Need an Alpha Database!

                      Comment


                        #12
                        Re: Passenger Seating Dbase

                        Thanks Peter, the sample you provided works excellent. The next stumbling block I have come across is that when I close the form then re-open it, the seats are no longer colored. I have to adjust the record, to reforce it to save, and re-color again.

                        So Nathan could have several Seating layouts on conditional layers for each plane layout, 737, 747 etc.
                        Sounds like my plan Keith. I was planning to draw up the 300 odd seats using Peters method and give it a trial to see how it goes.
                        Unless there is another method?

                        Is there any way of using the seats as individual records or something?

                        Thanks again

                        Comment


                          #13
                          Re: Passenger Seating Dbase

                          Hi Nathan,

                          Is there any way of using the seats as individual records or something?
                          Yes, in a child table. How many plane details do you plan to work with?
                          Regards
                          Keith Hubert
                          Alpha Guild Member
                          London.
                          KHDB Management Systems
                          Skype = keith.hubert


                          For your day-to-day Needs, you Need an Alpha Database!

                          Comment


                            #14
                            Re: Passenger Seating Dbase

                            3 different aircraft with corresponding seating

                            Comment


                              #15
                              Re: Passenger Seating Dbase

                              See what you all think of the approach in the attached. Any way you do this seems to me like it would be a lot of work. But in that regard, I think one of Cal's utilities can greatly reduce the work in my approach--forget which one it is. And, the way I did things in the sample could probably be done in a somewhat easier way.

                              Raymond Lyons

                              Comment

                              Working...
                              X