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

Repetitive Data Entry/Scheduling Challenge !

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

    Repetitive Data Entry/Scheduling Challenge !

    A few moments ago I received a phone call with an unusual request. I am describing the request as unusual because I�ve never done anything like this before, it involves AUTOMATIC data entry of numerous records over an extended period of time [scheduling]. Obviously I haven�t had time to think about a solution, but it certainly sounds like a fascinating challenge.

    I work with a company that provides transportation to Senior Citizens [people who remind me of Steve Workings]. A large part of the employee�s time is spent entering repetitive information into A5 month after month. Obviously the owner would love to eliminate much of that repetitive data entry.

    He went to a software show last week where one of the applications demonstrated how it can figure out patterns and AUTOMATICALLY enter repetitive data. Sounds pretty good to me. Of course after seeing that type of automated data entry, he asked me if I could do the same with our A5 application.

    I told him, to the best of my knowledge, A5 couldn�t go through the current data, ascertain patterns, and then automatically enter new data for regular customers. However, I did tell him that I could probably create something similar where the user could press a button and perform certain automated functions.

    As stated above, I haven�t had much time to think about a solution, but I definitely know I will need big-time help on this one. If you are interested in helping, here is the challenge:

    Regular Riders are defined as those seniors who, meet the following conditions:

    [1] they ride 3 or more times per week
    [2] they are always picked up at the same time and location
    [3] they are always transported to the same destination
    [4] they are always picked up at the same time
    [5] they always go on the same days such as Mon. Wed. Fri.

    In essence, the senior citizen�s key information never changes, it's very similar to the Quicken 3 for DOS and Wordstat applications that Steve Workings still uses.

    The only thing that changes are the dates and that could be a problem. Here are the pertinent fields I extracted from the table where ride information is stored. I hope everything lines up evenly.
    --------------------------------------

    ID Character [04]
    Fname Character [12]
    Lname Character [18]
    Regular Character [01]

    Date_Pickup Date
    Time_Pickup Character [05]
    Pickup_Location Character [20]
    Destination Character [24]
    Destination_Zip Character [05]
    Time_Return Character [05]

    Escort Numeric [01]
    Pass Character [04]
    Type_Fare Character [06]
    --------------------------------------

    Off the top of my head, I know we will need a Regular_Rider one character Y or N field, so I just added it to the table.

    My first thought is creating a button wherein Xbasic searches for and finds all Regular_Riders [Y]. A5 will then enter their static information [the fields listed above], for let�s say, one month ahead of time. This is where it really gets interesting as I�m wondering how I can possibly do this? I am very confident some of the sharp members of this discussion group will come up with some excellent ideas and/or suggestions.

    Robert

    #2
    RE: Repetitive Data Entry/Scheduling Challenge !

    OK, off the top of my head:

    I would think a set would work well, with the permanent patient info in the parent, and the transportation dates in the one-many browse. This would mean all you have to enter "automatically" is the next trip date and a couple other fields (?), which should simplify your problem.

    At the beginning of each day, you might have a script run from AUTOEXEC which searches records based on certain criteria (i.e., when the child was last updated), and then prompt you before entering new child record or records (I've suggested the prompt, because whenever you think you've covered all the bases, SOMETHING new comes up, and the prompt would allow you to abort).

    If this is going the direction you intended, let us know. I or someone else can probably give you further ideas.

    Comment


      #3
      RE: Repetitive Data Entry/Scheduling Challenge !

      I had a similar challenge in scheduling cares for home care patients. They got the same cares, but on different days (MWF, T,TH, Sat, Sun) these choice were presented in a pick list, that also entered the DOW for each day (Sun=1, Sat=7). Then when Wed comes along cdow(date()) or dow(date()) = 4, all riders with a "4" in the schedule, get a visit/or pick-up in your case. Every-other week or every third week pickup I haven't figured out yet, but week-of-month added to day-of-week should be doable.

      Next

      Tom

      Comment


        #4
        RE: Repetitive Data Entry/Scheduling Challenge !

        Hi Bill:

        I appreciate your response, however, I think you may have misunderstood the nature of my question. I already have the appropriate tables and sets. Data entry currently works smoothly & seamlessly as the user simply enters the customer's ID number. Once that ID is entered, A5 fills in virtually all of the fields automatically with little or no intervention from the user. Data entry, one record at a time, is not a concern. I am not asking for that type of help.

        I was talking about a complex script that goes to the another level. Let me try to explain it with a simple example.

        A senior citizen is always picked up at 11 am [1100 hours], always taken to the same destination, and always returns home at 1 pm [1300 hours]. And let's say that happens every Monday, Wednesday, and Friday, nothing changes except the dates. Instead of the user manually entering the same information for that customer 3 times a week and probably 12 times per month, I want to write a script to automate the process.

        In such a scenario, the user will simply click on a button, select a starting / ending date, such as May 01, 2001 through May 31, 2001. The XBasic script will enter the above user's schedule for every Mon. Wed. & Friday that falls between the May 1st and May 31st.

        In addition, Alpha will do it for EVERY CUSTOMER who has a "Y" in the Regular field as described in my original post.

        Is this possible? I think it is but I need some creative suggestions, I need someone to point me in the right direction or tell me it cannot be done.

        Thanks,

        Robert




        Comment


          #5
          RE: Repetitive Data Entry/Scheduling Challenge !

          Yes it can be done. I do it to schedule crews. They go on different repeats (weekly, two weekly, monthly, quarterly) on the same day, or last friday, or whatever.

          Get each tasks parameters into a table:
          Taskid (Links to Schedule)
          Start_date
          End_Date
          Day_of_week
          Repeat_type (Weekly, Monthly, Yearly)
          Repeat_num (7, 14 etc) if Monthly, repeat is type Monthly, repeat 1, If quarterly, type monthly repeat 3.
          Crewid

          Write a little script with a loop, each loop adds a record to the schedule.
          Due
          Crewid
          Taskid (links back to each task header)
          Done

          You have to delete records if the schedule changes. The set will index on taskid, so we can do a quick count. If the count is not 0, we enter a delete routine to remove the old schedule.

          It is not as hard as it looks.

          Comment


            #6
            RE: Repetitive Data Entry/Scheduling Challenge !

            Robert, Do you need the script to evaluate if an individual senior qualifies as a repeat passenger? If yes, you could just decide what or how many qualifies him or her and then query the table and do a records_get(). If it meets the criteria, use a seperate logical field mark him or her as .T.. and so on... using the .T. as the value to script out who gets automatic entry in the schedule creation. By fetching those passengers last rides for a week or a month (what ever the time frame) you could load all the variables needed to enter the next 10 years if you want. Once you have that script all you would have to do is modify so it would fetch through the qulified seniors one at a time and schedule them.
            Jeff

            Comment


              #7
              RE: Repetitive Data Entry/Scheduling Challenge !

              Robert,

              I wonder if the user might like a spreadsheet type presentation? the scheduled events (services) could be displayed for a specified date range using a browse object and a temporary table. User just walks through the dates, marking the ones they want to use. Like marking off checks that clear while doing a reconciliation in Quicken. You could even include a button on the form to 'mark all' in the displayed date range. Giving the user an easy way to make an exception or two might be appreciated... Anyway once the desired choices are marked you could append them back to the main data table.

              -- tom

              Comment


                #8
                RE: Repetitive Data Entry/Scheduling Challenge !

                Hi Stephen:

                I didn't get many responses to the very difficult challenge I posed to the members of this discussion group. Out of the very few I did receive, I would say, your response was the closest to the type of solution I think is needed. Could you expand a little upon your suggestion because it still is somewhat murky in my mind?

                Thanks,

                Robert

                Comment


                  #9
                  RE: Repetitive Data Entry/Scheduling Challenge !

                  Robert,

                  I don't think the methodology is particularly hard to add records. I would, however, add a field to skip a particular entry (rather than delete) when they call and cancel (for whatever reason like holidays, Doctor appts, etc) for that pickup. Also, I would assume there are cases where they go one way, and someone else would return (or take) them.

                  The easiest way to look for patterns is to search their last 3 or 4 weeks or so of entries, and see if they repeat (for example, same date and time in x out of y weeks), and if so, add the entry. Trickier items to ascertain (and specify) can be the 1st Monday of month, 2nd to last Monday of month, etc, but I've done that in the past. It generally requires ascertaining the day of week, week count (positive is from begining of a month, negative is from end of the month). The date math is beyond most, but is definitely doable. Other items are the same fixed days of the month (sometimes moved to the closest day of week that falls, say on a non-weekend)

                  Regards,

                  Ira J. Perlow
                  Computer Systems Design & Associates
                  [email protected]
                  Regards,

                  Ira J. Perlow
                  Computer Systems Design


                  CSDA A5 Products
                  New - Free CSDA DiagInfo - v1.39, 30 Apr 2013
                  CSDA Barcode Functions

                  CSDA Code Utility
                  CSDA Screen Capture


                  Comment

                  Working...
                  X