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

Browse Cell Image ?? HOW??

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

  • Browse Cell Image ?? HOW??

    I know HOW.... ;) BUT.. then again... NOT QUITE...

    I have a browse with 1.000 columns and 1.000 records in it.
    I want a certain image to appear in the cell if the cell has a certain value. I don't think for this question the image nor the value is relevant or important.

    The point is, I know how to do it per column.
    But I am not too eager to do it 1.000 times......... by hand.

    Can it be done automatically?

    You can not just copy and paste the property with help of advanced property copying, because the condition would vary with each column, because the column (=field) needs to be included in the condition. I can not think of a way to do it.

    Would I really need to go through all 1.000 columns by hand

  • #2
    Re: Browse Cell Image ?? HOW??

    Do you mean the same image and the same field value evry time? Or are their dozens of different images for dozens of diff. field values?
    Peter
    AlphaBase Solutions, LLC

    [email protected]ions.com
    https://www.alphabasesolutions.com


    Comment


    • #3
      Re: Browse Cell Image ?? HOW??

      I'm not understanding what you are trying to do...

      Can you show an image of what you want to accomplish?
      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: Browse Cell Image ?? HOW??

        OK, obviously I was not very clear, let me try to explain better....

        In an embedded browse, you can show an image in a row (actually: cell). You can choose for all rows act the same, or each row acts depending on the result of an expression: if field x = "this" then show image "that". Since each column is a field in a browse, this is only valid per column. If you have more columns (more fields) then you need to do this for each column again.

        I can only see how to do this by hand. That is hardly doable.

        I am looking for an automated way, to insert the condition and parameters for showing the image for all columns in the browse, which IS possible for simple browse properties, but is not for this expression. Furthermore, the field name is often included in the expression, so simply copying the expression for Field 1 into Field 2 won't do, because then you would need to still go by hand to all columns to change the fieldname in the expression.

        What I was looking for was something like the functionality of Excel when you copy and paste a formula to another cell and it adjusts the properties itself adhering to the new cell coordinates if you know what I mean.

        I am not sure I was more clear this time......

        Comment


        • #5
          Re: Browse Cell Image ?? HOW??

          Originally posted by Peter.Greulich View Post
          Do you mean the same image and the same field value evry time? Or are their dozens of different images for dozens of diff. field values?
          I have a browse, which is meant to be a matrix.
          So: horizontally, you find columns (col1, col2,col3 etc) which are of course actually fields in the table.
          Vertically, you find rows, which are of course records in the table.

          Each "cell" can have a couple of values, or is blank.
          The values are numeric, and such a value could be: 999 (or 888 or a few others, I guess maximum 10 different codes)

          If it is 999, it should show "image 1" instead of 999.
          If it is 888, it should show "image 2" instead of 888.

          I hope I am making some sense....... (scratches his head)

          Comment


          • #6
            Re: Browse Cell Image ?? HOW??

            Originally posted by M.Richard View Post
            What I was looking for was something like the functionality of Excel when you copy and paste a formula to another cell and it adjusts the properties itself adhering to the new cell coordinates if you know what I mean.
            Obviously, you can have a column with a conditional expression showing an image. Since you have only 10-codes, but a 1000 records, it's not too much of a big deal to set up that conditional once. But to dynamically repeat it for additional columns (fields), I don't think Alpha provides a way to do a copy like that. It would be useful to have a copy command for grids too. But there ain't.
            Peter
            AlphaBase Solutions, LLC

            [email protected]
            https://www.alphabasesolutions.com


            Comment


            • #7
              Re: Browse Cell Image ?? HOW??

              You do not have a 1000 column.

              If I remember correctly, the max number of fields in alpha is 500 or thereabout, but regardless of how many and assuming you have a "lot of fields", what you are trying to do in essence is this:

              Make each one of these fields a calculated field to show a certain image based on a certain expression. So, what you are trying to do is, as one option, in the field rules turn each one of these to a calculated field then write the expression for that field.

              Sure, it would be quite laborious to do it manually, but you could write a script to do that. You know you can:
              1-Enumerate the fields in a table
              2-Set field rules with xbasic.

              But I wouldn't haste to write the script. Assuming you write one, I am not sure how are you going to:
              1-Present that to the user? There is simply no screen wide enough to accommodate that many images, unless you are talking about quantum images.

              2-Even if you have a 60-inch screen, they don't have enough pixels

              3-And if they have the pixels, I don't have a field of vision wide enough to encompass it

              4-And if I do, your hard drive and/or your RAM might struggle very hard with 1,000,000 images (1000X1000)

              5-And if your RAM and/or hard drive oblige, alpha won't oblige with a 1,000,000 expressions

              What is the application for?

              Comment


              • #8
                Re: Browse Cell Image ?? HOW??

                Originally posted by G Gabriel View Post
                You do not have a 1000 column.

                If I remember correctly, the max number of fields in alpha is 500 or thereabout, but regardless of how many and assuming you have a "lot of fields", what you are trying to do in essence is this:

                Make each one of these fields a calculated field to show a certain image based on a certain expression. So, what you are trying to do is, as one option, in the field rules turn each one of these to a calculated field then write the expression for that field.

                Sure, it would be quite laborious to do it manually, but you could write a script to do that. You know you can:
                1-Enumerate the fields in a table
                2-Set field rules with xbasic.

                But I wouldn't haste to write the script. Assuming you write one, I am not sure how are you going to:
                1-Present that to the user? There is simply no screen wide enough to accommodate that many images, unless you are talking about quantum images.

                2-Even if you have a 60-inch screen, they don't have enough pixels

                3-And if they have the pixels, I don't have a field of vision wide enough to encompass it

                4-And if I do, your hard drive and/or your RAM might struggle very hard with 1,000,000 images (1000X1000)

                5-And if your RAM and/or hard drive oblige, alpha won't oblige with a 1,000,000 expressions

                What is the application for?
                Hi Gabriel!

                Well, I hate to contradict you, but the embedded browse on the forum DOES show the 1.000 columns.... so, it CAN (v9) obviously handle 1.000 fields....

                What I am trying to do is create a MAP. Where each "cell" represents a place on the map. Look at it as a map of 1.000 villages horizontally and 1.000 villages vertically.
                Each village is represented by an image like a green ball if the image has value x and a red ball if the image has value y.

                You go from the assumption that I would need to see all 1.000*1.000 cells in one view..... that, is not the case!

                The browse gives the opportunity to slide horizontally and vertically so that only discloses a part of the map as you slide along the browse.

                I know you can create the fields as calculated, but with what kind of expression would you make an image appear if the value would be lets say 999?

                Comment


                • #9
                  Re: Browse Cell Image ?? HOW??

                  Richard:
                  Are you saying 1.000 or 1,000?
                  The most my screen resolution will go to is 1024x768.
                  I understand there are TV's with 38402160 but haven't heard of any monitors that go that high.

                  My point is, even if this dot is 2x2 Pixels, you will need a minimum of 2000 X 2000 resolution. Obviously, you need a whole lot more since these images are not contiguous. Do you have that much resolution?

                  Put an image of 2x2 pixels on our monitor and see how it looks.

                  Comment


                  • #10
                    Re: Browse Cell Image ?? HOW??

                    Sorry, Gabriel, but I think you did not read my answer completely..... it contained these sentences:

                    You go from the assumption that I would need to see all 1.000*1.000 cells in one view..... that, is not the case!

                    The browse gives the opportunity to slide horizontally and vertically so that only discloses a part of the map as you slide along the browse.
                    There is no need to see all "cells" completely and at once in the one view, hence, your concerns about the resolution are not quite relevant in this case?

                    Comment


                    • #11
                      Re: Browse Cell Image ?? HOW??

                      Richard:
                      I did read your response. Sliding back and forth DOES NOT increase the number of screen pixels.

                      Comment


                      • #12
                        Re: Browse Cell Image ?? HOW??

                        Originally posted by G Gabriel View Post
                        Richard:
                        I did read your response. Sliding back and forth DOES NOT increase the number of screen pixels.
                        No, sliding back and forth does not increase the number of screen pixels, but, at the same time, it reduces the number of screen pixels you would need otherwise in other to display the complete matrix.......

                        If you go to Google Maps, you don't need a screen as wide as 4x4 meters in order to show the whole world either :) you just view a piece of it.... so it is with this matrix.

                        Comment


                        • #13
                          Re: Browse Cell Image ?? HOW??

                          Are you talking about a geographic map?
                          Last edited by G Gabriel; 03-26-2010, 05:44 PM.

                          Comment


                          • #14
                            Re: Browse Cell Image ?? HOW??

                            Yes, this is a geographic map, but a virtual one, it is not an existing geographic situation. Otherwise the road to Google Maps would have been easy.

                            How again would you accomplish the automatic showing of the image with help of the calculated field in the field rules? Because I believed that was what you are heading for in terms of solution?
                            I can not see quite how this could be done?

                            Comment


                            • #15
                              Re: Browse Cell Image ?? HOW??

                              I am still trying to understand what you are trying to do. If it is a geographic map, for instance a map of the US, how are you going to put it in the browse?
                              Or are you simply talking about a "Matrix" not a "Map"?
                              How you do it depends on what you want to achieve.

                              Comment

                              Working...
                              X