If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > General > Database Concepts & Design > Database structure command optimization

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-10-09, 16:34
Esgrimidor Esgrimidor is offline
Registered User
 
Join Date: Dec 2008
Posts: 11
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
Reply With Quote
  #2 (permalink)  
Old 01-11-09, 12:03
blindman blindman is offline
World Class Flame Warrior
 
Join Date: Jun 2003
Location: Ohio
Posts: 11,726
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"
Reply With Quote
  #3 (permalink)  
Old 01-11-09, 20:35
Esgrimidor Esgrimidor is offline
Registered User
 
Join Date: Dec 2008
Posts: 11
I see the article, but I would like to know an alternative more simple to the post.

Do you have one ?
Reply With Quote
  #4 (permalink)  
Old 01-12-09, 03:56
mike_bike_kite mike_bike_kite is offline
vaguely human
 
Join Date: Jun 2007
Location: London
Posts: 2,519
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.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On