ghacig said:
[blue]The last thing I want is a crashing database with tons of data.[/blue]
I didn't mean to scare you when I said:
TheAceMan said:
[blue]Get something wrong here and Whamo, some months down the line the design crashes, with tons of data sitting there.[/blue]
What I really meant to say was: you may reach a point in making certain additions to the database, and find the nature of your Relationships & PK's manke it next to impossible to do so, or required resturcting (with so much data) brings the design process to a halt. [blue]We don't design crashing databases.[/blue]
Moving On . . . . .
Another area I forgot to address is [blue]your naming convention.[/blue] Or, more specifically, [blue]the length thereof.[/blue] [purple]
Strictly for purposes of readability[/purple], names should be as short as possibile. More abbreviations if anything else. Consider deciphering a page full of those long Form & IDs you have! [blue]This will come into play espcially in reading queries & code.[/blue]
[blue]
EEGID[/blue] is perfect. Short, to the point, can't mistake what it is, and [blue]
easily readable![/blue]
[blue]
EEGInterictalSessionsID[/blue] on the other hand is something else!
[blue]
EEGIS_ID[/blue] or [blue]
ISID[/blue] is certainly [blue]
more readable.[/blue]
I think you get the idea. As long as you (the programmer) recognize it at a glance, thats all you need. [blue]You'll appreciate this the next time you read a Query, SQL, or Code.[/blue] [purple]
This is one of those things we do to make things easier for ourselves![/purple]
Moving On . . . . .
For future reference in the database field, when you [blue]
specify a fields data type[/blue], always state exactly what it is. Instead of [blue]Numeric[/blue], it should be [blue]Integer[/blue], [blue]Long Integer[/blue], or [blue]Single[/blue] . . . ect, [blue]Memo[/blue] or [blue]Text[/blue] or [blue]Yes/No[/blue].
ghacig said:
[blue]So, if you think the following structure is OK[/blue]
Yes . . . it looks just fine. I query the table containing the Date Field, but I'll leave that up to you. If it needs to be moved to another table, I'm sure it will readily come to you.
ghacig said:
[blue]But, how do I update the forms and subforms?[/blue]
For the sake of [blue]versatility[/blue] your going to [blue]base the recordSource of each form on
SQL[/blue].
1) For each form, open the form in [blue]design view[/blue], and open the [blue]porperties[/blue] window for the form.
2) On the [blue]Data Tab[/blue], put the cursor on the [blue]RecordSource line[/blue], then click the [blue]three elipses[/blue] just on the right.
If you don't go directly to the [blue]
query builder[/blue], you'll probably have to answer 'Yes' to a prompt to get there.
3) Make the query to return the fields you desire for the form. [purple]
Important . . . do not click save when done![/purple]
4) Click the [blue]Close Button[/blue] of the [blue]Query Builder[/blue], then click 'Yes' in the prompt to save. You'll return to the form.
5)Click Save in the form.
Now just redesign the form. Any fields you don't already have will be in the [blue]Field List[/blue].
Thats it for redesigning the forms.
Let me know how it goes or what you need. Mean time I'll modify the cde for the Memo . . . . .
See Ya! . . . . . .