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

Capture Signature on iPad?

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

    #31
    Re: Capture Signature on iPad?

    aarrrg.. I placed the components inside an a5w page and the signature seems to work now as intended but all of my window variables are broken! Variables were working fine from grid to grid or grid to dialog and now do not from grid to a5w page.
    Creating Healthcare Work-Flow Solutions Since 2005

    Comment


      #32
      Re: Capture Signature on iPad?

      Originally posted by omagarc View Post
      Roadblock: Once my user completes and signs, I return to a list of other questionnaires. The user will select the next questionnaire but cannot sign as the button does not appear to work. If I refresh the browser, it will work again. So my problem is that I cannot use the javascript more than once as I guess the elements are consumed by the first instance. I've tried JQuery.("#signature").empty() to see if I could unload but no love. So my question is how does one unload the javascript without refreshing the browser. Kind of like closing a connection and reopening. I need to acquire the signature, save it close the dialog/grid and go to the next questionnaire and acquire the signature again. I'm reusing the same code but it only likes it once...
      This is one of those....live and learn. My confusion came from what I'm used to in terms of global variables from the desktop side of things. I scrapped the variables alltogether and simply added the data from the table i needed in the grid query. What I learned is that even though it appears that a button in a grid that opens another grid or dialog that is embeded in an a5w page ....it is not part of the same DOM. Each a5w page is independent. So my use of window['myvar'] did not fly between the a5w pages. I'm sure there is a way to do this but opted to just get the data from sql instead (which is easier). My mechanical side had taken over my logical side thus the confusion. I can see better now!
      Creating Healthcare Work-Flow Solutions Since 2005

      Comment


        #33
        Re: Capture Signature on iPad?

        Omar,

        Just a big thank you for helping me to get the signature to work on my PC. Next stop, Ipad!!
        Regards
        Keith Hubert
        Alpha Guild Member
        London.
        KHDB Management Systems
        Skype = keith.hubert


        For your day-to-day Needs, you Need an Alpha Database!

        Comment


          #34
          Re: Capture Signature on iPad?

          Hi Omar,

          I am stuck on the last part of getting the data in the table to display as an image in the report. You mentioned in your video saving the image from a PNG file. How did you do that?
          Regards
          Keith Hubert
          Alpha Guild Member
          London.
          KHDB Management Systems
          Skype = keith.hubert


          For your day-to-day Needs, you Need an Alpha Database!

          Comment


            #35
            Re: Capture Signature on iPad?

            Originally posted by Keith Hubert View Post
            Hi Omar,

            I am stuck on the last part of getting the data in the table to display as an image in the report. You mentioned in your video saving the image from a PNG file. How did you do that?
            I emailed you an additional video.. As we had discussed, I commit the data to disk before running the report. A calculated field on the report finds the file created to display.

            You could also convert the data to jpeg and store that in a long blob instead of storing the encoded signature....
            Creating Healthcare Work-Flow Solutions Since 2005

            Comment


              #36
              Re: Capture Signature on iPad?

              Hi Omar,

              Thanks for the video. As it is only 45 seconds I have watched it many times over, whilst I understand the concept of what you have done, I just want to use the data as required without having to build and save another file.

              I noticed that the code you displayed was part of a script that is over 300 lines, is it possible to post the code here that just deals with the decode?

              What would be a good idea is if that could be simplyfied into a function, what do you think?
              Regards
              Keith Hubert
              Alpha Guild Member
              London.
              KHDB Management Systems
              Skype = keith.hubert


              For your day-to-day Needs, you Need an Alpha Database!

              Comment


                #37
                Re: Capture Signature on iPad?

                Hi Omar,

                Thanks for the video. As it is only 45 seconds I have watched it many times over, whilst I understand the concept of what you have done, I just want to use the data as required without having to build and save another file.

                I noticed that the code you displayed was part of a script that is over 300 lines, is it possible to post the code here that just deals with the decode?

                Also, could you please advise why you felt it better to convert from png to bmp and then to jpg. All part of my learning curve.

                What would be a good idea is if that could be simplyfied into a function, what do you think?
                Regards
                Keith Hubert
                Alpha Guild Member
                London.
                KHDB Management Systems
                Skype = keith.hubert


                For your day-to-day Needs, you Need an Alpha Database!

                Comment


                  #38
                  Re: Capture Signature on iPad?

                  Code:
                  function mysig as c (e as p)
                  
                   	dim cn as sql::Connection
                   	dim args as sql::arguments
                  	dim cs as c = e.tmpl.cs.connectionstring
                  	dim v_signature as A
                  
                  ' Open connection and insert data
                  	cn.open(cs)
                  
                  ' Fetch Signature
                  	table = "yourtablename"
                  	result_expression = "signature"
                  
                  ' Here you have to define your record identifier
                  
                  	filter = "id = "e._currentRowDataNew.yourkey
                  
                  	v_signature = sql_lookup(cn,table,filter,result_expression)
                  
                  ' decode signature
                  	dim bb as b
                  	bb = base64decode(v_signature)
                  	
                  	args.add("mysig",bb)
                  	args.add("myid",e._currentRowDataNew.yourkey)
                  
                  	SqlUpdateStatement = <<%txt%
                   		Update yourtable SET mysignaturecolumn = :mysig WHERE id = :myid
                   		%txt%
                   	
                  	cn.execute(sqlUpdateStatement,args)
                  
                  end function
                  My suggestion is that you create an additional column to update with decoded image. You can then directly reference this column in your report.
                  Creating Healthcare Work-Flow Solutions Since 2005

                  Comment


                    #39
                    Re: Capture Signature on iPad?

                    Siganture.rar

                    go error when try the sample

                    Thanks

                    Comment


                      #40
                      Re: Capture Signature on iPad?

                      Originally posted by [email protected] View Post
                      [ATTACH]34814[/ATTACH]

                      go error when try the sample

                      Thanks
                      No error here; I was able to sign and see the string as shown..
                      Capture.JPG
                      Creating Healthcare Work-Flow Solutions Since 2005

                      Comment


                        #41
                        Re: Capture Signature on iPad?

                        Fred,

                        What is the urchin file? Is this something I need?

                        I also have error when trying to use Working Preview, see attached.
                        Attached Files
                        Last edited by Keith Hubert; 03-09-2013, 05:05 AM.
                        Regards
                        Keith Hubert
                        Alpha Guild Member
                        London.
                        KHDB Management Systems
                        Skype = keith.hubert


                        For your day-to-day Needs, you Need an Alpha Database!

                        Comment


                          #42
                          Re: Capture Signature on iPad?

                          May be me Version is different from him
                          my version is V11 4041

                          Thanks

                          Originally posted by Keith Hubert View Post
                          Fred,

                          What is the urchin file? Is this something I need?

                          I also have error when trying to use Working Preview.

                          Comment


                            #43
                            Re: Capture Signature on iPad?

                            Originally posted by [email protected] View Post
                            May be me Version is different from him
                            my version is V11 4041

                            Thanks
                            Version 11, Build 3044
                            System Addins: Build 4041 C Compiler version 1600

                            Windows 7 Ultimate x64
                            IE 9
                            Firefox 19
                            Creating Healthcare Work-Flow Solutions Since 2005

                            Comment


                              #44
                              Re: Capture Signature on iPad?

                              Originally posted by Keith Hubert View Post
                              Fred,

                              What is the urchin file? Is this something I need?

                              I also have error when trying to use Working Preview, see attached.
                              Make sure you are on Version 9 + of IE
                              Creating Healthcare Work-Flow Solutions Since 2005

                              Comment


                                #45
                                Re: Capture Signature on iPad?

                                Hi Fred Chan...

                                Please help I am trying to get my customer to acknowledge receipt of goods by signing on a ipad.
                                Everything is working but how do i go about creating the grid and a5w pages.
                                Any help would be appreciated. I am using Alpha Five v10.5
                                kind regards
                                Strini ( [email protected])

                                Comment

                                Working...
                                X