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

Global change in all forms, code etc.

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

    Global change in all forms, code etc.

    I have a database which consists of around 30 forms, 60 codes, 20 browses etc. Now I would like to change the words "First Time Customer" to "New Customer" in every table, form, brose, report etc. Is there an add on program or any way to make this global change easily. For example "Change all occurrences of 'First Time Customer' to 'New Customer'" Otherwise I have to look at every line of code and form. That could take hours. Any ideas would be appreciated.

    #2
    Re: Global change in all forms, code etc.

    Hi Harold,
    Are you talking about the field name in the table or data in a record? For the latter an update operation can be used, but to change field names you will have to edit each table.
    Robin

    Discernment is not needed in things that differ, but in those things that appear to be the same. - Miles Sanford

    Comment


      #3
      Re: Global change in all forms, code etc.

      For forms and browses you can open each in design mode and use the Code Explorer and Object Explorer where you can search.

      For code on the code tab you can do a global search.
      There can be only one.

      Comment


        #4
        Re: Global change in all forms, code etc.

        Contact Cal Locklin on this message board. One of his AIMS addin apps might help you.
        Mike W
        __________________________
        "I rebel in at least small things to express to the world that I have not completely surrendered"

        Comment


          #5
          Re: Global change in all forms, code etc.

          Stan, at the risk of my sounding dumb, please explain how to do a global search of all codes.

          Comment


            #6
            Re: Global change in all forms, code etc.

            With the code tab visible, right click in any "whitespace". The context sensitive menu will present a search option. This applies to saved functions and scripts. If the code is event code for a layout you must open the layout and use the code explorer.
            There can be only one.

            Comment


              #7
              Re: Global change in all forms, code etc.

              I am on the control panel and see the tabs :TABLES, TfORMS, BROWES, REPORTS,... CODE. I clicked on the code giving focus to all of the code programs in the list. This includes about 100 FUNCTIONS and SCRIPTS or more. Now I right clicked on the white space and see a drop down menu that starts with Run, Design, Delete, Remain and ends with Add Ins. I do not see any search option. Where do I find this so that I can do a global search for the phrase "First Time Customer" and change it to "New Customer" in all of the scripts and functions.

              Comment


                #8
                Re: Global change in all forms, code etc.

                The right click menu you describe indicates you have a script or function selected/hilighted. Click into the whitespace at the far right or elsewhere until no script/function is selected. Then right click again.

                You should then see the drop down menu beginning with View, Arrange Icons,........, Search Scripts and Functions,..... ending with New.
                There can be only one.

                Comment


                  #9
                  Re: Global change in all forms, code etc.

                  Thank you very much. In the deep recesses of my memory I immediately remembered from way back when what you said. I came up with over 200 scripts etc and 800 occurrences of "First Time Customer". Now, if there was only a way to not just search, but search and replace, all would be good.

                  Comment


                    #10
                    Re: Global change in all forms, code etc.

                    The same right click menu has Global Search and Replace but it does exactly what you tell it to do, not necessarily what you intended. Thus it is very dangerous. If you proceed with using that I would make several backups first.

                    With a long search string like First Time Customer you are probably not going to get many, if any, unintended matches.
                    There can be only one.

                    Comment


                      #11
                      Re: Global change in all forms, code etc.

                      Originally posted by Mike Wilson View Post
                      Contact Cal Locklin on this message board. One of his AIMS addin apps might help you.
                      Thanks for the plug Mike. Yeah, my AIMS App Analyzer would probably do most of what he wants - checking all the code in the Code tab AND every event/expression/filter in the database. If he wants to find instances of "First Time Customer" in text boxes on layouts, I don't have anything to do that right now but it might be worth adding. It wouldn't be terribly difficult. (But RTF boxes - sorry, no can do.)

                      The only downside - depending on how you look at it - is that I will only do a "search and identify" not a "search and replace". I've had too many problems with "search and replace" in the past that resulted in changing things I didn't want to change. And sometimes I didn't know about the problem until after I released the update to the customer(s). Just imagine what a change from "he" to "she" would look like. Tshe result would make a mess of things and I'd shear from all tshe customers asking if I could undo tshe problem tshey created! And, just to be politically correct, yes, at least one of those customers might be a sshe instead of a she.

                      By the way, I've tried the "check every event/filter/expression in every layout manually" and I was never able to be 100% accurate. That, and the fact that doing it manually takes so long, is why I created my App Analyzer and why I use it so often - it finds every match.

                      And one other thing. If you password protect the code in your Code tab (and you should if you are building a generic app), the A5 search won't work - but the App Analyzer will.
                      Last edited by CALocklin; 07-27-2012, 03:28 AM.

                      Comment

                      Working...
                      X