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

Alphasports-fire district db

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

  • Alphasports-fire district db

    While looking and trying to adapt Alphasports for a database, I noticed that when you go to the invoice page and press print this invoice, it is stuck on the same invoice. Also, while changing customers, the embedded browse doesn't change. I am trying to create a database for a fire department(and first responders) where they can keep track of fireman calls so that they can pay the small fee they get for calls. (volunteer). I am modeling the db after alphasports which has customer (firemen) invoices with embedded browse (keep current track of their calls), each fire call (events) and all the reports as such. There are three separate fire stations and the district. I need reports separate for each and one for the district. I get very close to completing this and then the db doesn't work when I add new fireman, events,... It has been a few years since I worked with alpha and volunteered to do this for the firemen. I know this is a long explanation but I am asking for both advice and patience. This should not be difficult but I have been working on this for a few months.

    Thanks,

  • #2
    Re: Alphasports-fire district db

    I noticed that when you go to the invoice page and press print this invoice, it is stuck on the same invoice.
    Are you speaking of your modified database or the original AlphaSports? Easiest way to get help is to attach your database here, if that's the problem child, and include instructions how to replicate the problems.

    Your issue above seems to be that you have changed something that makes the filter for the invoice report not find the proper record(s).
    There can be only one.

    Comment


    • #3
      Re: Alphasports-fire district db

      Check the invoice report to see what filter is saved there.

      Sometimes when you click on an report (invoice in this case) button to print a report and then put the report in design mode, the filter sticks to the report - and you don't want it to.

      Just change the filter to blank and the filter from the button will work again.
      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


      • #4
        Re: Alphasports-fire district db

        Attached is the db that I have been working on. Some things may be redundant--been trying all kinds of things.
        Thanks for the advice.
        Ted
        Attached Files

        Comment


        • #5
          Re: Alphasports-fire district db

          Your print/preview button refers to date ranges that don't exist.

          Delete or comment out the whole code and add this.

          Code:
          if option = 1 then 'print today's invoices
          	filter = "inlist2(fireman_id,[var->invoice_numbers])"
          else if option = 2 then 'range of dates
          	filter = "between(fireman_id,[varD->begin_inv],[varD->end_inv])"
          end if
          
          
          'substitute the parameters in the filter expression
          filter = replace_parameters(filter,local_variables())
          
          
          
          if print_option = "preview" then 
          	report.preview("Invoice",filter)
          else
          	report.print("invoice",filter)
          end if
          Fire Department.zip
          Last edited by Stan Mathews; 08-17-2016, 02:41 PM.
          There can be only one.

          Comment


          • #6
            Re: Alphasports-fire district db

            New version.

            Fire Department.zip
            There can be only one.

            Comment


            • #7
              Re: Alphasports-fire district db

              Originally posted by tedsoileau View Post
              Attached is the db that I have been working on. Some things may be redundant--been trying all kinds of things.
              Thanks for the advice.
              Ted
              Ted you changed the radio object for what the choices are, but changed nothing in the button onPush event.

              They need to be coordinated.

              I'd make a change to what Stan submitted...

              Code:
              if option = 1 then 'print today's invoices
              	filter = "inlist2(fireman_id,[var->invoice_numbers])"
              else if option = 2 then 'range of firemen
              	filter = "between(fireman_id,[var->begin_inv],[var->end_inv])"
              end if
              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


              • #8
                Re: Alphasports-fire district db

                Ted

                What build of Alpha are you running?
                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


                • #9
                  Re: Alphasports-fire district db

                  Ted

                  Noting that you sent me a private message that this is now working after downloading from somewhere again.

                  Glad to hear it's working.
                  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


                  • #10
                    Re: Alphasports-fire district db

                    Originally posted by Al Buchholz View Post
                    Ted

                    Noting that you sent me a private message that this is now working after downloading from somewhere again.

                    Glad to hear it's working.
                    Now I'm getting a mixed messages that this is not working.

                    Please post instructions here..

                    Please be more clear about your instructions.

                    Give the exact name of the buttons to press to reproduce that issue.
                    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


                    • #11
                      Re: Alphasports-fire district db

                      Choose Mamou Fire Department
                      Firemen events
                      Go to Firemen 05 Ray Manuel---you will see an event M1
                      Press "print this report"
                      preview---blank report
                      If you choose another firemen and then press New, pick an event, then Print this report--doesn't do it.

                      How can I automatically make the invoice_number the firemen_id? I played with the field rules but can't seem to figure it out.

                      Comment


                      • #12
                        Re: Alphasports-fire district db

                        Originally posted by tedsoileau View Post

                        How can I automatically make the invoice_number the firemen_id? I played with the field rules but can't seem to figure it out.
                        Why would you make the invoice number the fireman_id?

                        Once the invoice is paid then the fireman should start a new invoice.

                        Going down the wrong path is causing too many problems for you.

                        Treat the fireman as a customer and use the fireman_id like a customer id. Use the invoice_id to group an invoice together.

                        Your invoive_id problem with the line items is because you changed the field rule for invoice_items->invoice_id to default to blank.
                        Last edited by Al Buchholz; 08-17-2016, 06:34 PM.
                        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


                        • #13
                          Re: Alphasports-fire district db

                          Al,
                          My purpose is to have a database where the fire department can keep track of each fireman's calls. I want to have a running list of events that can be tied to each fireman that attend the call (event--ie house fire, rescue, etc). By using the concept of an invoice where an item(event or call) could be added to the ongoing invoice, then at any time, the running total of what each fireman has earned could be checked and printed. I may be making this more complicated then I should. In the database I am working on: Events are like products--can be added to an ongoing invoice for each fireman(customers). Sure hope I made this clear.
                          Thanks

                          Comment


                          • #14
                            Re: Alphasports-fire district db

                            Originally posted by tedsoileau View Post
                            Al,
                            My purpose is to have a database where the fire department can keep track of each fireman's calls. I want to have a running list of events that can be tied to each fireman that attend the call (event--ie house fire, rescue, etc). By using the concept of an invoice where an item(event or call) could be added to the ongoing invoice, then at any time, the running total of what each fireman has earned could be checked and printed. I may be making this more complicated then I should. In the database I am working on: Events are like products--can be added to an ongoing invoice for each fireman(customers). Sure hope I made this clear.
                            Thanks
                            For the $220 onetime payment, you should consider QuickBooks Pro.
                            https://quickbooks.intuit.com/pro/
                            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


                            • #15
                              Re: Alphasports-fire district db

                              For free you can get
                              Manager https://www.manager.io/ for one user and much stronger than QB. Multiuser is a bit more
                              Dave Mason
                              dave@aldadesktop.com
                              Skype is dave.mason46

                              Comment

                              Working...
                              X