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

Still Struggling

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

    Still Struggling


    1) If I have ANY filters at all, the problem of "unable to add key to tag" returns, even on queries!

    2) I have been merging different files together into one main file. I have lookup tables assigned to most fields in the new master file, allowing updates and additions. I have been working through the file adding to/updating the lookup files. When I come to an entry that is not on the lookup file I press "ctrl-C" to copy to the clickboard, click on "enter" on the lookup table and then "Ctrl-V" to try and copy the entry to the lookup table additions form. Nothing happens, Ctrl-V & Ctrl-C are not recognised at this point. Is this correct? and how do I get around it (apart from re-typing every new entry)?

    3) Can someone help me get started with action scripts with the know-how on the following:
    if "operator" field is blank then set op-unique to blank.
    if "w_o_date" (8 chars) not blank the set "C3" to "W".
    if "identity" is blank then set "identity" to "-canx-"

    I can get all this to work on new records by setting up the above using default settings, but when I update a current record the defaults dont work. :(

    Its not as if I am starting from scratch, I have all the above working just fine with Alpha 4 V6, which at the moment seems to me to be a more stable product than Alpha 5V4.
    --
    Support your local Search and Rescue Unit, Get Lost!

    www.westrowops.co.uk

    #2
    RE: Still Struggling

    1. can you attach sample files to a message that demo how you can get an "unable to add key to tag" error by including filters in the index. i would be most interested in seeing this.

    2. i cannot repeat any problem using control V while doing data entry into a lookup table. I did this: went to the sample invoice app that ships with a5. opened "invoice" form. copied a comany name to the clipboard with ctrol-c. then entered a new invoice. that caused the customer_id lookup window to open. clicked the "Enter" button to enter a new customer id. this opened the customer form. gave focus to the company name field and pressed control-V to paste. it worked fine. if your scenario is different, please include specific instructions on how to repeat.

    3. default values in field rules are only MEANT to work during data entry. not during edits of a previously saved record. if you want to define rules that apply to editing of exisitng records then you need to be more specific. should the default value be entered into the field regardless, or only if there is no current entry in the field (for example). if the value is to be entered into the field regardless, then it is really a calc field that you are defining, and you can certainly define this in field rules.

    if on the other hand, the "default" value is intended to be entered into the field when the field gets focus, if there was no previous value in the field, and the user is still allowed to overwrite it, then it is easiest to do this by defining scripts attached to events on forms.

    for example, to do your first rule: if operator is blank then set op-uinque to blank, you could do several things.
    a) you could define a script for the onDepart event for "operator":

    if operator.text = "" then
    op-unique.text = ""
    end if

    b) you could define a script for the onInit event for op-unique, (same as above script)

    c) if you did not want to overwrite an existing value in op-unique, then:

    if operator.text = "" .and. op-unique.text "" then
    op-unique.text = ""
    end if




    Comment


      #3
      RE: Still Struggling

      Thanks for that Selwyn, I managed to get the third example working. The other two failed to work, I suspect because they are posted during lookup table processing and I dont know where in the action sequence the posting takes place.
      Anyhow I have scaled-down the number of entries so as to fit the attached zip file into under 1Mb.
      --
      Support your local Search and Rescue Unit, Get Lost!

      www.westrowops.co.uk

      Comment


        #4
        RE: Still Struggling

        He is an example pf the type of filter expression that has been causing "heap lock errors" and "unable to add key to tag" messages.

        Index name: Tidy_Up
        Order: operator
        Filter: (isnotblank("operator").and.operator"corporate").and.isblank("operator")
        --
        Support your local Search and Rescue Unit, Get Lost!

        www.westrowops.co.uk

        Comment


          #5
          RE: Still Struggling

          Graham,

          Your filter expression is contradicting itself in that it is requiring the field to be blank and not blank at the same time. Maybe that last .and. should be replaced with an .or.:

          (isnotblank("operator").and.operator"corporate").OR.isblank("operator")

          Now the expression sets the following 2 conditions--

          1. Operator contains an entry that can only equal "corporate"

          OR

          2. Operator is blank

          If Operator contains anything other than "corporate", the record should be ignored.

          Is this what you are trying to get?

          Comment


            #6
            RE: Still Struggling

            Doh!

            the filter should read:

            (isnotblank("operator").and.operator"corporate").and.isblank("op_unique")
            --
            Support your local Search and Rescue Unit, Get Lost!

            www.westrowops.co.uk

            Comment


              #7
              RE: Still Struggling

              Doh! as well. I reread my explanation and realized I was thinking ="corporate" not "corporate", so the explanation doesn't make sense.

              Comment

              Working...
              X