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

how to place table fields into a5w page with background

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

    how to place table fields into a5w page with background

    hello i was wondering how to do that . i have gone through alot of threads but i did not see any clear explnation regarding this matter .

    my company have invoice ( as jpg ) i want to set it in aw5 page background and place fields from dbf table into specefic location in top of my image .

    problem is i cant see how to move any fields from combonat grid for example . how do i control the field location manually so i can organize the fields in top of the jpg background .

    or if any one can provide me easy way how to do that .

    for example .

    i have created table name : test

    fields :
    1- id_number
    2- Name
    3- Amount
    4- Notes


    i want to place first field in right corner of my page
    second field in the middle of page
    third field in the right down corner
    last field @ corner down left side


    how am suppose to do that in easy way .

    its urgent so i appreciate any help .


    Regards
    Last edited by aal_fareed; 04-10-2011, 11:07 AM.
    To live anywhere in the world today and be against equality because of race or color is like living in Alaska and being against snow.�

    - William Faulkner

    #2
    Re: how to place table fields into a5w page with background

    1. You might want to explore the Freeform layout feature on the grid. Go to any field, in find it in it's properties.

    2. Here's an example of some freeform layout that uses a background-image in a div (this is quick and poor execution, but you'll get the idea):

    Code:
    <div style="
    	background-color:transparent;
    	position:absolute;
    	WIDTH: 350px; 
    	HEIGHT: 350px;
    	background-image:url(http://4.bp.blogspot.com/-XG4NyUYNQpg/TZ9duZQf8RI/AAAAAAAAA0E/uv7688Uo2ko/s320/Clifton+2.JPG);
    	background-repeat: no-repeat;
    	border-width:3;
    ">
    
    Salesperson: {Salesperson} <br>
    order Date: {OrderDate} <br>
    
    </div>
    3. A picture of the results from #2 is attached here.

    4. There's a lot more you can do with CSS. Alpha Software has a nice video that helped get me started with some ideas. You'll find it here.
    -Steve
    sigpic

    Comment


      #3
      Re: how to place table fields into a5w page with background

      thank you steve ...i will try that gonna work in it all night . and let you know
      To live anywhere in the world today and be against equality because of race or color is like living in Alaska and being against snow.�

      - William Faulkner

      Comment


        #4
        Re: how to place table fields into a5w page with background

        The method below will allow precise text positioning on top of an image. The important elements are:

        - the image is given specific height and width, so you can be sure it fills that space on the browser.
        - each text block is in a DIV with CSS to give it ABSOLUTE positioning and a TOP and LEFT to allow you to nudge it to the right position. "Absolute" causes it to slam to position 0,0 relative to the previous DIV, which is the Image in this example.

        You now need to use xbasic to replace my static values for the image and text blocks with variables with the proper values from your database.

        HTML Code:
        <body>
        <div id="myarea" style="color:white;font-size:x-large;">
        
        <div><img src="images/testimage.jpg" style="width:500px;height:500px;"></div>
        <div id="text1" style="position:absolute;top:100px;left:100px">my text 1</div>
        <div id="text2" style="position:absolute;top:200px;left:200px">my text 2</div>
        <div id="text3" style="position:absolute;top:300px;left:300px">my text 3</div>
        <div id="text4" style="position:absolute;top:400px;left:400px">my text 4</div>
        
        </div>
        </body>
        Steve Wood
        See my profile on IADN

        Comment


          #5
          Re: how to place table fields into a5w page with background

          i have question now ... about the database field .. now that i have the image placed into the \div

          how am suppose to get the fields from dbf table and place it top of the image , so users can input thire data .

          as for the above example you are only showing lables of static text ( correct me if i am mistaken )

          thanks for help again
          To live anywhere in the world today and be against equality because of race or color is like living in Alaska and being against snow.�

          - William Faulkner

          Comment


            #6
            Re: how to place table fields into a5w page with background

            Re: how to place table fields into a5w page with background

            --------------------------------------------------------------------------------

            i have question now ... about the database field .. now that i have the image placed into the \div

            how am suppose to get the fields from dbf table and place it top of the image , so users can input thire data .

            as for the above example you are only showing lables of static text ( correct me if i am mistaken )

            thanks for help again
            To live anywhere in the world today and be against equality because of race or color is like living in Alaska and being against snow.�

            - William Faulkner

            Comment


              #7
              Re: how to place table fields into a5w page with background

              Originally posted by Steve Wood View Post
              The method below will allow precise text positioning on top of an image. The important elements are:

              - the image is given specific height and width, so you can be sure it fills that space on the browser.
              - each text block is in a DIV with CSS to give it ABSOLUTE positioning and a TOP and LEFT to allow you to nudge it to the right position. "Absolute" causes it to slam to position 0,0 relative to the previous DIV, which is the Image in this example.

              You now need to use xbasic to replace my static values for the image and text blocks with variables with the proper values from your database.

              HTML Code:
              <body>
              <div id="myarea" style="color:white;font-size:x-large;">
              
              <div><img src="images/testimage.jpg" style="width:500px;height:500px;"></div>
              <div id="text1" style="position:absolute;top:100px;left:100px">my text 1</div>
              <div id="text2" style="position:absolute;top:200px;left:200px">my text 2</div>
              <div id="text3" style="position:absolute;top:300px;left:300px">my text 3</div>
              <div id="text4" style="position:absolute;top:400px;left:400px">my text 4</div>
              
              </div>
              </body>
              do you have any example of xbasic to get fields of db in top of image ?
              i would appreciate that
              To live anywhere in the world today and be against equality because of race or color is like living in Alaska and being against snow.�

              - William Faulkner

              Comment


                #8
                Re: how to place table fields into a5w page with background

                Ahmed - combine what Steve Wood and I showed you.

                Create a grid with the fields you need to display. You will probably do well with a Enter Record Form template, for instance.

                Select the fields for display, hide all but one using the Row Properties / Hide Row.

                In the remaining field, check the box for Freeform Layout, and insert code like I show below. I only have two fields in my sample grid, but you can complete this:

                Code:
                <div><img src="images/dog2.jpg" style="width:500px;height:500px;"></div>
                <div id="text1" style="position:absolute;top:100px;left:100px">Salesperson: {Salesperson} </div>
                <div id="text2" style="position:absolute;top:200px;left:200px">order Date: {OrderDate}</div>
                <div id="text3" style="position:absolute;top:300px;left:300px">my text 3</div>
                <div id="text4" style="position:absolute;top:400px;left:400px">my text 4</div>
                Results show in attached thumbnail.
                -Steve
                sigpic

                Comment


                  #9
                  Re: how to place table fields into a5w page with background

                  Originally posted by Steve Workings View Post
                  Ahmed - combine what Steve Wood and I showed you.

                  Create a grid with the fields you need to display. You will probably do well with a Enter Record Form template, for instance.

                  Select the fields for display, hide all but one using the Row Properties / Hide Row.

                  In the remaining field, check the box for Freeform Layout, and insert code like I show below. I only have two fields in my sample grid, but you can complete this:

                  Code:
                  <div><img src="images/dog2.jpg" style="width:500px;height:500px;"></div>
                  <div id="text1" style="position:absolute;top:100px;left:100px">Salesperson: {Salesperson} </div>
                  <div id="text2" style="position:absolute;top:200px;left:200px">order Date: {OrderDate}</div>
                  <div id="text3" style="position:absolute;top:300px;left:300px">my text 3</div>
                  <div id="text4" style="position:absolute;top:400px;left:400px">my text 4</div>
                  Results show in attached thumbnail.
                  thank you so much , i will try it now :D
                  To live anywhere in the world today and be against equality because of race or color is like living in Alaska and being against snow.�

                  - William Faulkner

                  Comment


                    #10
                    Re: how to place table fields into a5w page with background

                    Originally posted by Steve Workings View Post
                    Ahmed - combine what Steve Wood and I showed you.

                    Create a grid with the fields you need to display. You will probably do well with a Enter Record Form template, for instance.

                    Select the fields for display, hide all but one using the Row Properties / Hide Row.

                    In the remaining field, check the box for Freeform Layout, and insert code like I show below. I only have two fields in my sample grid, but you can complete this:

                    Code:
                    <div><img src="images/dog2.jpg" style="width:500px;height:500px;"></div>
                    <div id="text1" style="position:absolute;top:100px;left:100px">Salesperson: {Salesperson} </div>
                    <div id="text2" style="position:absolute;top:200px;left:200px">order Date: {OrderDate}</div>
                    <div id="text3" style="position:absolute;top:300px;left:300px">my text 3</div>
                    <div id="text4" style="position:absolute;top:400px;left:400px">my text 4</div>
                    Results show in attached thumbnail.
                    thank you thank you thank you ....
                    it works 100% although its sooo boring as i am going to place over 35 fields ... i will post a screen of my work for u
                    To live anywhere in the world today and be against equality because of race or color is like living in Alaska and being against snow.�

                    - William Faulkner

                    Comment


                      #11
                      Re: how to place table fields into a5w page with background

                      Steve W,
                      I was watching your web app total training over the weekend which includes instruction about alpha's report builder.
                      Wouldn't something like Ahmed is trying to accomplish be better created in the report builder?

                      Can you use a scanned in image or pdf as a template in the report builder and than add your fields in the correct places?

                      Tks
                      Bob

                      Comment


                        #12
                        Re: how to place table fields into a5w page with background

                        Steve W,
                        Where is the rest of the series great stuff!

                        HTML Code:
                        4. There's a lot more you can do with CSS. Alpha Software has a nice video that helped get me started with some ideas. You'll find it here.
                        Tks
                        Bob

                        Comment


                          #13
                          Re: how to place table fields into a5w page with background

                          Originally posted by bob9145 View Post
                          Steve W,
                          Where is the rest of the series great stuff!

                          HTML Code:
                          4. There's a lot more you can do with CSS. Alpha Software has a nice video that helped get me started with some ideas. You'll find it here.
                          Tks
                          Bob
                          i was thinking the same .. its working perfectly am not yet done but i will post the report soon once i finishd it .
                          i was thinking that alpha can do trick in adobe ... so we can design our layout in adobe and place it in the report and drag/drop fields
                          that would be usefull tool for everyone ..
                          good luck
                          To live anywhere in the world today and be against equality because of race or color is like living in Alaska and being against snow.�

                          - William Faulkner

                          Comment


                            #14
                            Re: how to place table fields into a5w page with background

                            From my experience you can't put an image in a report as a background and place fields on it. Try it, I never was able to render an image as full size. But you can, and I have, used pdf_merge() function to merge a stock PDF with background and a PDF with field information.
                            Steve Wood
                            See my profile on IADN

                            Comment

                            Working...
                            X