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

date countdown

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

    date countdown

    I am building an auction site. Live sales, online sales and combined live/online sales. I need to countdown the time and the days left before the sale ends.
    I have tried the following expression for the date:

    bus_days_between(system->Date,Sale->End_Date)

    But I want to count all days including holidays.

    I know that I can use the between_date expression,

    between_date(C field,Date 1,Date 2)

    I simply don't know what to enter in the C Field element.

    #2
    Re: date countdown

    Umm there is no way to just tell the system to calculate "(Sale->End_Date)-(system->Date)"? i used to use something like that in access and it would give me the number of days between those dates (the dates switched because u want the future minus present to get the number of days)

    i figured things like that would work on Alpha five as well XD i will check it might have to be a calculated field on a table tho

    UPDATE---
    Yes it works as a calculated field like this:

    (date you want a day count to)-Date()

    if you add this to a table i believe you have to tell it to update all calculated fields. i'm not sure were you would need to add this to, i'm still very new to alpha five.

    Comment


      #3
      Re: date countdown

      Originally posted by Melv View Post
      I am building an auction site.
      Is the auction site on the web? You asked your question in the desktop forum.
      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

      http://www.iadn.com/images/media/iadn_member.png

      Comment


        #4
        Re: date countdown

        Thanks Al, sorry for the confusing post.
        I currently use a desktop program for live sales (where buyers are present) and this is manually linked to an online bidding platform. The same software is used to set up the sale and as the back office, but then when the sale goes online or is a timed sale (like ebay) all of the information has to be transfered up using DAT files. When the sale ends it has to be transfered back in the same way. The software I use is the auction industries leading brand and the license costs me $2000 per year. Its slow and clumbersome.

        My aim is to build a single application that can be used for either sale type. The time and date countdown is not needed in the live sale, But I want to be able to set it up on one form. I considered building a desktop version would be quicker and easier to experiment with before I started on the web.

        Comment


          #5
          Re: date countdown

          Originally posted by Archesr View Post
          Umm there is no way to just tell the system to calculate "(Sale->End_Date)-(system->Date)"? i used to use something like that in access and it would give me the number of days between those dates (the dates switched because u want the future minus present to get the number of days)

          i figured things like that would work on Alpha five as well XD i will check it might have to be a calculated field on a table tho

          UPDATE---
          Yes it works as a calculated field like this:

          (date you want a day count to)-Date()

          if you add this to a table i believe you have to tell it to update all calculated fields. i'm not sure were you would need to add this to, i'm still very new to alpha five.
          Archesr, thanks, I'd actually started out with virtually the same calculation, but missed out the () after Date. Then went off on a tangent without thinking it through.

          Comment


            #6
            Re: date countdown

            Hi Melv,

            Just a quick sample. The code below returns Days,hours,minutes, seconds till the auction begins.

            Gregg
            Code:
            dim auction_time as t
            
            auction_time = {11/15/2012 10:00}
            ? totime(auction_time-now(),3,0)
            = "6:07:44:52"
            Alternate
            Code:
            dim auctiond as d
            dim auctiont as y
            
            auctiond = {11/15/2012}
            auctiont = {10:00}
            
            ? totime((auctiond+auctiont)-now(),3,0)
            = "6:07:39:07"
            Last edited by madtowng; 11-09-2012, 04:23 AM. Reason: more options
            Gregg
            https://paiza.io is a great site to test and share sql code

            Comment


              #7
              Re: date countdown

              Thanks Gregg, I'm getting there. Next job is to run staged time outs for the online sales but thats relatively easy.

              Comment


                #8
                Re: date countdown

                I developed a live auction desktop app. Running very successfully now.
                Live auction is vastly different to on-line.
                ONLINE. very relaxed can run from a mobile on a beach.
                LIVE:-Very hyped up, no time to think, in a short space of time. Instant action.
                All the planning and correct theory - doesn't prepare you for hundreds of items sold in a couple of hours.
                You need live switching between
                - registration and deposit payment entry,
                - recording paddles issued
                - capturing each hammer fall on lot number linked to items and to buyer
                - enable an early leaver instant statement of items, deposit and commissions due.
                The pre-auction and post auction prep has similarities with various online methods.
                Ask if you want pointers - or more.
                Ray
                Last edited by Ray in Capetown; 11-09-2012, 06:34 PM.

                Comment


                  #9
                  Re: date countdown

                  Ray, I actually set up and manage the auctions that I run. The reason for the build is to speed up the process. We run live and online combined sales, the delay in taking an online bid is significant and I want to improve on it.

                  Online bidders get a different id from live bidder and then each has their own paddle number. Live start at zero and online at 1000. The problem is that the online system can only upload onto the live system manually. So an operator has to export lists out of the online system into DAT files and then import the DAT files into the live. Cumbersome at best.

                  I am actually better at concept and system building than the actual database development. That is one of the reasons behind using Alpha Five. It is easier for me to test systems.

                  Ray I want more!!!

                  These are the products that I use at the moment:
                  ATG Media Bidmaster and Autioneers Toolbox.
                  iBidder.com

                  I have been using AlphaFive since 2008 starting with V8 onto V10 and now V11.
                  Last edited by Melv; 11-10-2012, 07:00 AM. Reason: spelling

                  Comment


                    #10
                    Re: date countdown

                    My experience in auction software design in Alpha is specific to live auctions.
                    Property auctions for example, are a breeze.
                    Smaller items are the difficulty.
                    The main difference is fewer buyers, multiple items with a sale as often as every minute.
                    When buyers leave, at any time, their final detailed account must be correct to the latest sale. Cash changes hands and goods are gone. Further sales have taken place in the meantime.

                    Comment


                      #11
                      Re: date countdown

                      Ray I sell up to 700 lots with anything from 60 bidders to 150 at the sale and 200 online.

                      We also use the option bid process. So lot 150 could be sold with an option to purchase lots 151/152/153 for the same hammer price. I have runners between the rostrum and the cashiers office and we can do a manual invoice, but no goods are ever released until the sale has ended. We actually empty the sale room/s after the sale and the porters are them the only persons allowed back in. Everything is bought out by the porters.

                      It is a stressful time during a big sale and I generally do not do anything. I sit in the cashiers office and the sale. Once buyers start to filter in, I am on hand to sort any problems out. My sales can have values between �10k and �300k GBP.

                      Comment

                      Working...
                      X