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

excel upload problems

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

    excel upload problems

    Hi everyone!

    I have been trying to upload an excel file that has date fields to a database, and the format of the date fields are alpha-numeric (i.e for example, some records are 12-MAR-14 to 27-MAR-14, while some are; 27-MAR-14), each time i upload a records to the database, it converts it to a date format and nullifies the concatenates records. If i validate the control file on alpha end and apply the uploads rules, it throws and exception. I want it to be insert into the database as a character field.

    Please, can anyone help me on how to achieve this?


    Kind regards,

    Chinedu

    #2
    Re: excel upload problems

    My understanding is that the SQL datefield will be stored as a number. You use Alpha to display that number in the format you require

    Comment


      #3
      Re: excel upload problems

      Originally posted by Michael1954 View Post
      My understanding is that the SQL datefield will be stored as a number. You use Alpha to display that number in the format you require
      Thank you Michael, how can i use Alpha to display it in the Grid component?

      Best regards,

      Comment


        #4
        Re: excel upload problems

        You don't say what method you are using to upload, but can you pre-create your target database and make that field a character field so it imports as you want?
        Steve Wood
        See my profile on IADN

        Comment


          #5
          Re: excel upload problems

          Date.png


          Hope this helps

          Comment


            #6
            Re: excel upload problems

            Originally posted by Steve Wood View Post
            You don't say what method you are using to upload, but can you pre-create your target database and make that field a character field so it imports as you want?
            Thanks Steve,

            Am using the action JavaScript gene for Import Data from Excel or ASCII file to create the import. secondly, i also designed my database with character datatype of it, still when i import it converted to date format.

            Thanks for more help in anticipation.

            Comment


              #7
              Re: excel upload problems

              No that image does not help. It shows how you display the field value, not how you import it. How are you importing the excel file into your database - and can you pre-create the field as a character field and then import into that existing table:

              EDIT : Oh, sorry you do say how you import. Someone with experience with the Javascript import method will have to respond or I might get a chance to test. I import using xbasic and standard SQL syntax and can control every aspect of the import. Often using these nice and easy Alpha Action utilities, you are limited to what they provide. But I have not looked at that one to test yet.
              Last edited by Steve Wood; 06-17-2015, 05:36 AM.
              Steve Wood
              See my profile on IADN

              Comment


                #8
                Re: excel upload problems

                Originally posted by Michael1954 View Post
                [ATTACH=CONFIG]40483[/ATTACH]


                Hope this helps

                I used this methods, but unfortunately it didn't work. its still converts to date format. i equally checked the option of "honor Grid rules and events" still it didnt work.

                Comment


                  #9
                  Re: excel upload problems

                  Originally posted by Steve Wood View Post
                  No that image does not help. It shows how you display the field value, not how you import it. How are you importing the excel file into your database - and can you pre-create the field as a character field and then import into that existing table:

                  EDIT : Oh, sorry you do say how you import. Someone with experience with the Javascript import method will have to respond or I might get a chance to test. I import using xbasic and standard SQL syntax and can control every aspect of the import. Often using these nice and easy Alpha Action utilities, you are limited to what they provide. But I have not looked at that one to test yet.


                  OK,

                  Thanks, please can you share with me, how to import using xbasic?

                  Comment


                    #10
                    Re: excel upload problems

                    Send me a test excel file and i will see if I can help.

                    To confirm you are saving the date in a text field in SQL.

                    Comment


                      #11
                      Re: excel upload problems

                      Originally posted by Michael1954 View Post
                      Send me a test excel file and i will see if I can help.

                      To confirm you are saving the date in a text field in SQL.

                      OK,

                      Here is the sample of the excel file am uploading. I am using Mssql for the MDBS. find the attachment.

                      Thanks
                      Attached Files

                      Comment


                        #12
                        Re: excel upload problems

                        OK I have tried the file and I am getting the same error as you. Let me try a little longer

                        Comment


                          #13
                          Re: excel upload problems

                          OK the solution is simple if you can accept it, import as a CSV.

                          Comment


                            #14
                            Re: excel upload problems

                            Originally posted by Michael1954 View Post
                            OK the solution is simple if you can accept it, import as a CSV.
                            Please, can you with share me how i can achieve it?

                            Thanks

                            Comment


                              #15
                              Re: excel upload problems

                              If you save the file you sent me as a csv. Then when you import it into Alpha it works in the way you hoped.

                              Comment

                              Working...
                              X