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

Is this design conceot right?

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

    Is this design conceot right?

    Title was suppose to be "Is this design concept right?"

    I have been a newbie since version 5.5
    Enclosed I have posted a diagram of the way I thought my database should be designed.
    Since I have never got it to work the way I thought it should be. I am starting over from scratch for the 6th or 8th time.
    So I thought this time maybe I should look more closely at my design, that it might be right for what I am trying to accomplish.
    That my workflow is getting all cluttered, trying to figure out the use of tabbed forms, versus the use of a single form and browses.
    Side Note: "I guess in a flat file all the fields are in one table, and all information ends up being duplicated, But in a relational database information is spread out over many tables and trying to bring them together, "For Me" this gets confusing."

    My main objective is to:
    Keep track of Customer information
    Keep track of the jobs we perform for each customer
    keep track of the time it takes to complete these jobs
    keep track of the materials used on each job.

    End result
    to be able to go back and look up any customer and find out what jobs we have done for them.

    Print an invoice with customer information and the information about the job and materials used.

    to be able to create a new invoice with the customer information already filled in.

    Could I ask for some guidence on what I am doing wrong.

    I would really like to complete this task, as this is the simplist of the task I have to do, but I keep hitting a wall.

    Thanks
    Last edited by popellis; 01-01-2008, 02:32 PM. Reason: misspelled

    #2
    Re: Is this design concept right?

    Another thought or question I have for the plumbing jobs set.

    Should the relationship between "customers table" and "jobs table" be 1 to 1 for data entry and 1 to many for reviewing?

    Comment


      #3
      Re: Is this design concept right?

      Mark, the set & table designs look ok to me. They will work well for your reports. However, I would not use either one for my primary dataentry form(s). I favor the use of simpler sets, with fewer tables, and more forms. My design polestar is Dr. Wayne's article "Simplify your Application for better Performance" at www.learn alpha.com.

      -- tom

      Comment


        #4
        Re: Is this design concept right?

        Ditto to what Tom said.

        The only thing I might change in your set/table design is the linking keys between the Job table and the Resident table. I would remove the Job ID field from the Resident table and add the Resident ID to the Job table. Then use the Resident IDs for the link. Since you specify a 1-1 relationship from job to resident I am assuming that a job can only apply to one resident. So having the Resident ID in the job table answers the question, "What resident is this job for. This would also allow you to reverse the set and ask the question, "What other jobs have been performed for this resident. (much the same as the customer - unless I have completely misinterpreted the resident table. :))
        Tim Kiebert
        Eagle Creek Citrus
        A complex system that does not work is invariably found to have evolved from a simpler system that worked just fine.

        Comment


          #5
          Re: Is this design concept right?

          Good point, Tim.

          Comment


            #6
            Re: Is this design concept right?

            Is a resident the same thing as a customer? Or is your customer some company that gives you several residents to perform work at?

            One thing I noticed on you actual data that you posted in another thread, your ID fields seem to be rather long, such as C16. I would keep the lengths in line with you actual work. My rule of thumb is make your ID fields as long as the maximum number of records that you realistically expect to have, multiplied by 10. So, for example, if you expect over the lifetime of you business to have 5000 customers, round that up to 10,000, and multiply by 10 = 100,000 . That will give you a C6 ID field length (which gives you 999,999 records). Of course, if you use a precursor character, you will need to allow for that in addition. I would not use precursors such as "Cust-", as I believe you have done in your posted tables; that just complicates things.
            Peter
            AlphaBase Solutions, LLC

            [email protected]
            https://www.alphabasesolutions.com


            Comment


              #7
              Re: Is this design concept right?

              Tim

              HTML Code:
               I would remove the Job ID field from the Resident table
               and add the Resident ID to the Job table. Then use the Resident IDs 
              for the link. Since you specify a 1-1 relationship from job to resident
               I am assuming that a job can only apply to one resident.
              Okay, I'm a little confused, so forgive my ignorance if I ask. Don't you end up with the same result if this is a 1 to 1 relation ship and the linking field is in both tables. What makes your way that much different than the way i did it. Again forgive my ignorance.




              Peter
              HTML Code:
               I would not use precursors such as "Cust-", as I believe you have done
               in your posted tables; that just complicates things.
              I did this to help me understand which ID # I was looking at, and you are right they started giving me trouble right off the bat.

              Tom

              HTML Code:
              I favor the use of simpler sets, with fewer tables, and more forms.
               My design polestar is Dr. Wayne's article "Simplify your Application for better
               Performance" at www.learn alpha.com.
              I will have to look at this article. Every thing I have read seems to be the opposite, it is breaking you data down into smaller bits or more tables to keep redundancy of data down.
              How would you divide up the data presented? and Why would you do it that way?
              I guess it's evident that I need more information on design. If there is a good article on design that you could point me to I would appreciate it, but it would have to more suited for a average joe, than an experianced data programmer.



              Thank you all for your responses
              Sorry I have to go for now as I have company.

              Comment

              Working...
              X