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

Quick search function help

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

    #16
    Re: Quick search function help

    Don - it's ok - I'm new to all of this too, but I just happen to know how to do this...

    forget about A5 for the moment

    Get the query working in MySQL; if it doesn't work in MySQL, it won't work in A5

    in My SQL, can you do a select as shown in Post #14?

    Like :
    Select
    E_date,E_month, person, category
    from
    Table
    where E_month = 'March'

    We're not trying to have A5 populate the month column; we're trying to have MySQL at the source.

    How did you create the e_month column? Is it a calculated column?

    Assuming that you are trying to follow my suggestion #1 from post #5, the column in MySQL needs to be a calculated column

    You want the definitiion of E_month to be: MONTHNAME(e_Date)

    Or, did you just make a character based column called E_month? If so that won't do the trick. E_month needs to be a calculated column, defined as: MONTHNAME(e_Date)



    PS -you can also create the e_month column via my suggestion #3 in post #5. I am NOT saying that A5 cannot create the month column for you. I'm just responding to the fact that it appears that you are trying to follow my suggestion #1 from post #5
    MSQL since 2010
    A5V11 since Feb 2012

    Comment


      #17
      Re: Quick search function help

      I don't know MySQL.... perhaps you do not have the option of creating a calculated column....

      if that is true - do so within A5's SQL Genie - as per suggestion#3 of post5
      MSQL since 2010
      A5V11 since Feb 2012

      Comment


        #18
        Re: Quick search function help

        Don, it sounds like you are right on track with your first post. I suspect the piece of information you might be needing is the Query property for the grid. Do not use "Table" as your source. Use a "View" and setup an expression in the VIEW to return MONTHNAME([date]) as an extra column. As suggested earlier, avoid SQL reserved names as field names at all cost. There are hundreds of reserved names, though. I like prefixing each field name with a two-characters prefix that represents the table the field name is in. This way I avoid reserved words and avoid having use qualified field names when joining two tables together in a view that have common column names.

        If you need to update records with your grid then I highly suggest using the "SQL Select Statement" option for the source of the grid. Beware of the training tutorials that suggest using the "Table or View" option as the data source for an updateable grid. Alpha is just so much friendlier if you use the "SQL Select Statement" option. Alpha needs to know about each table separately, so it can create an update command that will not violate SQL restrictions about updating more than one table at a time. Also, make sure you constantly look at the popup dialog for the "Select Primary Key(s)" button.
        1) Only one of the tables in your "SQL Select Statement" should be updateable; it should have its primary key indicated and the option for "Primary key is auto-increment?" needs to be properly set.
        2) All other tables should be marked as "Read-only"

        If you use SQL Views in your "SQL Select Statement", rather than acessing the tables directly, then Alpha will constantly forget which field is the key field - it is rather annoying. People have asked Alpha to fix this, but it seems no one has made a convincing case for them to bother fixing this yet. I think it is important to fix this as part of making web applications that are cloud enabled, enterprise wide and highly secure. For SQL databases with multiple access points it is quite conceivable that VIEWS could be used to enforce very high level of security access against the database, especially if different applications will be accessing the database. There could be an enterprise procedural requirement that separate applications accessing the same database, must do so by only using VIEWS.

        -Rich

        Comment


          #19
          Re: Quick search function help

          Rich -
          I'm so glad to know this happens to someone else too!

          If you use SQL Views in your "SQL Select Statement", rather than acessing the tables directly, then Alpha will constantly forget which field is the key field - it is rather annoying.

          I use 'Table or View' for:
          view as the datasource when the component is readonly
          table as the datasource when the component is updateable and doesn't need any other data

          Otherwise, I use 'SQL select Statement' with 1 table updatable.... and, I find (but Selwyn cannot confirm) that I run into trouble if I edit the default alias names of the linking fields, from within the SQL Genie.


          Don -
          if you are still having trouble, be sure to come to the (free) Friday webinar - I'm sure one of the presenters will be able to show you how to make the month column from within A5's SQL Genie -
          http://www.alphatogo.com/support.a5w...3d2f9b709d0656
          MSQL since 2010
          A5V11 since Feb 2012

          Comment

          Working...
          X