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

Some newbie questions

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

    Some newbie questions

    Hello,

    I'm currently evaluating Alpha 5 for a small project i'm working on ( 5 users, central mysql db) and have a few questions about putting the user interface together :

    - I've been looking at a way to have a Combobox display values from another table in a regular form, then insert te corresponding numerical value from that table in the layouts main table. I'd prefer not to work with a fixed list with the | separator.

    This combo box should display two fields.

    - Is there a way to have the datetime value in a date field created automatically (or as a default) when you create a new record?

    #2
    Re: Some newbie questions

    Frederik, in the table you could have a field called "Date_Entered" or "Date_Created" or some thing that makes sense for your project. Go to the field rules for that field and set the field to be calculated on the "Field Type" tab and then on the "Data Entry" tab set the Default to "Simple default expression" then in the "Default Value" you could use the system function Date() or Now() the alpha help file will give you information on the functions so you can decide which one is best for you.
    You can then decide what other features to turn on/off such as is the field required etc.

    Comment


      #3
      Re: Some newbie questions

      I use the NOW() function on the calculation and in the display format for the Date_Added field I use the expression below to display 18-Mar-10 02:48 pm
      time("dd-Mon-yy 0h:0m am",<value>)
      [email protected]
      Los Angeles, CA
      cell/home 323-663-4735

      Comment


        #4
        Re: Some newbie questions

        Found it. Works like a charm. I guess I wasn't expecting this setting in the Tables section. (Coming from FileMaker...)

        Anybody have an idea for the value lists? I guess I could make it with a looked up value list and just enter the data in the field but I'm trying to do the right thing here... :-)

        Comment


          #5
          Re: Some newbie questions

          Frederik, There are a number of ways to do the lookup list.

          At the table level you do it in the field rules (same area as the Date) there is a "Lookup" tab where you specify the "Table Lookup" you want to perform.

          You can also do it on a form where a field is defined as a table lookup and the selected value is assigned to the corresponding field in the table.

          If you go through the AlphaSports sample you will see the different ways they do a lookup. I know it can be confusing, I still do not get all the things they do, but it is there to research and learn from.

          After all experience is the best teacher, however a little help from those that have been down that road is priceless at times.

          Comment


            #6
            Re: Some newbie questions

            I've tried the first suggested approach, but when i define the pull down menu in my table, the menu is displayed on the first field of the table, not the one i want to use. It works as advertized, but on the wrong field :-)

            Also, it seems to me that these value lists can only be used once on a layout, which makes their use a bit limited.

            I've looked around in the forms of the AlphaSports sample, but I don't see any examples of a pull down box with the functionality i'm discribing. The only one i could find was related to search. It used some kind of CALC functionality. Anybody know how this would work?

            Comment


              #7
              Re: Some newbie questions

              Frederik, please clarify what you are seeing. Table lookup field rules are defined for a single field, but can be used to autofill related fields simultaneously. It sounds like you defined it for the "wrong field".

              Also, it seems to me that these value lists can only be used once on a layout, which makes their use a bit limited.
              Not sure what you're looking for, but the table lookup field rule feature is designed to permit the user to quickly select a value for a specific field, and then to autofill related fields simultaneously. Why do you find this limiting?

              Comment


                #8
                Re: Some newbie questions

                Originally posted by Tom Cone Jr View Post
                Not sure what you're looking for, but the table lookup field rule feature is designed to permit the user to quickly select a value for a specific field, and then to autofill related fields simultaneously. Why do you find this limiting?
                I didn't get the pull down menu allowed you to select the fields so I set the field option for the wrong field. I looked over it the first time. Works like a charm now. :)

                Another, more advanced question :

                I have a table with a datetime field. Whenever the field has passed a certain value, i want to generate a warning for the user. Most probably this will need to be done with XBasic?

                Comment


                  #9
                  Re: Some newbie questions

                  Frederik, the message board works best if each thread of messages is limited, more or less, to a single issue or question. This facilitates searches for related threads later on by other users. Why not begin a new thread with your next question? And, if you do, please provide more details and sample data. A specific example, coupled with an explanation of the sequence or context, will increase the probability you will receive a helpful response. -- tom

                  Comment

                  Working...
                  X