Results 1 to 4 of 4
  1. #1
    Join Date
    Dec 2008
    Posts
    13

    Database structure command optimization

    Database structure command optimization

    The utility of my database would be take control of multiple parameters associated to logical fields to decide if I want to include in a report or not.

    There is several fields like Name, Address and Country.

    But the rest of them are personalized fields according to logical fields, and only appear their content in reports if the logical field is True . This fields grow with the time passing by adding some to the database

    So I wanted know them following a criteria

    MD0000AB , where 0000 is a correlative number and AB a combination of two letter.
    And so on with other sub-classes MJ0000AB, PC0000AB, etc.

    and the logical fields associated to them with the name format LLMD0000AB, LLMJ0000AB, LLPC0000AB.

    I ask if exist a form more easy to design my database for simplicity and new fields in the future.

    The filter must say , by example : LLMD0001cd is True , then MD0001cd is part of the report . Other case is not part of the report.

    The lenguage I'm using is dBASE type, but any else would be interesting to orient me about the sinxtaxis to follow.

    Thanks
    Excuse my language. I'm from Canary Islands

  2. #2
    Join Date
    Jun 2003
    Location
    Ohio
    Posts
    12,592
    Not sure about the Canary Islands, but here in the States we have something known as the K.I.S.S. principle:
    KISS principle - Wikipedia, the free encyclopedia
    If it's not practically useful, then it's practically useless.

    blindman
    www.chess.com: "sqlblindman"
    www.LobsterShot.blogspot.com

  3. #3
    Join Date
    Dec 2008
    Posts
    13
    I see the article, but I would like to know an alternative more simple to the post.

    Do you have one ?

  4. #4
    Join Date
    Jun 2007
    Location
    London
    Posts
    2,527
    You have told us how your design works but not what it does! Combining your most important data into one field (LL+PC+0000+AB) rather than having multiple fields makes the design very difficult to use.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •