PC Review


Reply
Thread Tools Rate Thread

Avoid Duplications

 
 
Samuel
Guest
Posts: n/a
 
      25th May 2007
I have 2 tables which are absolutely identical

On top of these tables I have forms, queries and reports

I am looking for a method that I can use one version of the above for both
tables

Specifically is it possible to set the source of a report at runtime, how
can I set a variable within a form before opening it so that will be the
basis of all the rest

Thank you,
Samuel



 
Reply With Quote
 
 
 
 
RBear3
Guest
Posts: n/a
 
      25th May 2007
Why do you have two "absolutely identical tables"? There is no valid reason
for this in a normalized relational database.

Delete one table and you should be all set.

--
Hope that helps!

RBear3
..

"Samuel" <(E-Mail Removed)> wrote in message
news:eWxgQ%(E-Mail Removed)...
>I have 2 tables which are absolutely identical
>
> On top of these tables I have forms, queries and reports
>
> I am looking for a method that I can use one version of the above for both
> tables
>
> Specifically is it possible to set the source of a report at runtime, how
> can I set a variable within a form before opening it so that will be the
> basis of all the rest
>
> Thank you,
> Samuel
>
>
>



 
Reply With Quote
 
Samuel
Guest
Posts: n/a
 
      25th May 2007
The tables are identical in structure but they are used for 2 different
types of data


"RBear3" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Why do you have two "absolutely identical tables"? There is no valid
> reason for this in a normalized relational database.
>
> Delete one table and you should be all set.
>
> --
> Hope that helps!
>
> RBear3
> .
>
> "Samuel" <(E-Mail Removed)> wrote in message
> news:eWxgQ%(E-Mail Removed)...
>>I have 2 tables which are absolutely identical
>>
>> On top of these tables I have forms, queries and reports
>>
>> I am looking for a method that I can use one version of the above for
>> both tables
>>
>> Specifically is it possible to set the source of a report at runtime, how
>> can I set a variable within a form before opening it so that will be the
>> basis of all the rest
>>
>> Thank you,
>> Samuel
>>
>>
>>

>
>



 
Reply With Quote
 
Joseph Meehan
Guest
Posts: n/a
 
      25th May 2007
Samuel wrote:
> The tables are identical in structure but they are used for 2
> different types of data


I suggest that you may want to combine both tables and add one
additional field to identify the different types. It is hard to say for
sure since I don't know enough about your data, but it sounds like that
would be the preferred way and would solve your problem.

>
>
> "RBear3" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>> Why do you have two "absolutely identical tables"? There is no valid
>> reason for this in a normalized relational database.
>>
>> Delete one table and you should be all set.
>>
>> --
>> Hope that helps!
>>
>> RBear3
>> .
>>
>> "Samuel" <(E-Mail Removed)> wrote in message
>> news:eWxgQ%(E-Mail Removed)...
>>> I have 2 tables which are absolutely identical
>>>
>>> On top of these tables I have forms, queries and reports
>>>
>>> I am looking for a method that I can use one version of the above
>>> for both tables
>>>
>>> Specifically is it possible to set the source of a report at
>>> runtime, how can I set a variable within a form before opening it
>>> so that will be the basis of all the rest
>>>
>>> Thank you,
>>> Samuel


--
Joseph Meehan

Dia 's Muire duit



 
Reply With Quote
 
RBear3
Guest
Posts: n/a
 
      25th May 2007
I would agree with Joseph. Normalization rules would suggest that this data
should be in one combined table with a separate field to help filter. A
good example of this is "Employees" all in one table with an "inactive"
checkbox to allow you to pull only active or inactive.

--
Hope that helps!

RBear3
..

"Samuel" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> The tables are identical in structure but they are used for 2 different
> types of data
>
>
> "RBear3" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>> Why do you have two "absolutely identical tables"? There is no valid
>> reason for this in a normalized relational database.
>>
>> Delete one table and you should be all set.
>>
>> --
>> Hope that helps!
>>
>> RBear3
>> .
>>
>> "Samuel" <(E-Mail Removed)> wrote in message
>> news:eWxgQ%(E-Mail Removed)...
>>>I have 2 tables which are absolutely identical
>>>
>>> On top of these tables I have forms, queries and reports
>>>
>>> I am looking for a method that I can use one version of the above for
>>> both tables
>>>
>>> Specifically is it possible to set the source of a report at runtime,
>>> how can I set a variable within a form before opening it so that will be
>>> the basis of all the rest
>>>
>>> Thank you,
>>> Samuel
>>>
>>>
>>>

>>
>>

>
>



 
Reply With Quote
 
Samuel
Guest
Posts: n/a
 
      25th May 2007
Please trust me that there is a good case for having 2 tables due to the
fact that there are a lot of functionality already built on top of the
existing table and practically speaking it is the only way to avoid mistakes
in this important part of the system.

However, I do want to share some of the existing functionality (forms
reports etc.) and I wonder if anyone can help me as I described in my
initial email

Thank you,
Samuel

"RBear3" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>I would agree with Joseph. Normalization rules would suggest that this
>data should be in one combined table with a separate field to help filter.
>A good example of this is "Employees" all in one table with an "inactive"
>checkbox to allow you to pull only active or inactive.
>
> --
> Hope that helps!
>
> RBear3
> .
>
> "Samuel" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
>> The tables are identical in structure but they are used for 2 different
>> types of data
>>
>>
>> "RBear3" <(E-Mail Removed)> wrote in message
>> news:(E-Mail Removed)...
>>> Why do you have two "absolutely identical tables"? There is no valid
>>> reason for this in a normalized relational database.
>>>
>>> Delete one table and you should be all set.
>>>
>>> --
>>> Hope that helps!
>>>
>>> RBear3
>>> .
>>>
>>> "Samuel" <(E-Mail Removed)> wrote in message
>>> news:eWxgQ%(E-Mail Removed)...
>>>>I have 2 tables which are absolutely identical
>>>>
>>>> On top of these tables I have forms, queries and reports
>>>>
>>>> I am looking for a method that I can use one version of the above for
>>>> both tables
>>>>
>>>> Specifically is it possible to set the source of a report at runtime,
>>>> how can I set a variable within a form before opening it so that will
>>>> be the basis of all the rest
>>>>
>>>> Thank you,
>>>> Samuel
>>>>
>>>>
>>>>
>>>
>>>

>>
>>

>
>



 
Reply With Quote
 
Joseph Meehan
Guest
Posts: n/a
 
      25th May 2007
Samuel wrote:
> Please trust me that there is a good case for having 2 tables due to
> the fact that there are a lot of functionality already built on top
> of the existing table and practically speaking it is the only way to
> avoid mistakes in this important part of the system.
>
> However, I do want to share some of the existing functionality (forms
> reports etc.) and I wonder if anyone can help me as I described in my
> initial email
>
> Thank you,
> Samuel
>


If that is the case, (I can't think of an situation where it would be
however) then I suggest you just make copies of what you have to have two
sets of the forms reports and queries each applied to one table. It is not
likely to bloat the size of the database that much.

--
Joseph Meehan

Dia 's Muire duit



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How can I avoid duplications entering data in Excel? JCHSAlgebraTeacher Microsoft Excel Setup 2 1st Jan 2010 09:46 AM
How to avoid Compatibility Checker MsgBox? VBA to avoid or prevent? EagleOne@discussions.microsoft.com Microsoft Excel Programming 1 16th Jan 2009 08:54 PM
Help! with duplications =?Utf-8?B?bmlra2k=?= Microsoft Access 1 22nd Feb 2006 10:41 PM
How can I generate random numbers but avoid duplications? =?Utf-8?B?c3BlY2lhbGs0bGlmZQ==?= Microsoft Excel Misc 1 5th Dec 2005 05:42 PM
TOC - duplications wendym@skylinegroup.com Microsoft Word Document Management 3 4th Feb 2004 05:09 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:36 PM.