Microsoft
Software
Hardware
Network
Question : Repeating Rows when adding a field
Hello:
I need to retrieve a project Number for each payment paid in advance. An event is taking place today and I need to allocate every
advanced payment to a project Number.
I am getting 3 rows for every amount instead of one but only when I add the project Number. If I take it out I get the right result.
The three results represents the 3 records under a hierarchy. I am getting the 3 projectnumbers belonging to the parent
instead of only the one or two that represent the sale for that projectNumber. The tables relationships are as follows:
ProjectTable
ProjectNumberID Name ProjectNumber ParentID
350001 Casting 4000 350005
350005 AllCasting 20000 0
350006 Rehearsal 4010 350005
350007 Show 4020 350005
//////////////////////////
//////////
//////////
//////////
///
ProgramTable
ProgramID ProjectNumberID EventNumber
100001 350001 5
100002 350001 5
100003 350006 6
//////////////////////////
//////////
//////////
//////////
///
EventTable
EventID ProgramID
5 100001
6 100001
7 100002
//////////////////////////
//////////
//////////
//////////
//
TransactionTable
TransactionID SaleID EventID Amount
1 10 5 136.00
2 11 5 20.00
//////////////////////////
//////////
//////////
//////////
//
SaleTable
SaleID Arrival SaleDateTime
10 '2010-06-22 05:30:00' '2010-01-25 01:00:00'
11 '2010-06-22 05:30:00' '2010-02-15 02:00:00'
//////////////////////////
//////////
//////////
//////////
//
PaymentTable
PaymentID SaleID PaymentDateTime Amount
101 10 '2010-01-25 01:00:00' 136.00
102 11 '2010-02-15 02:00:00' 20.00
I am getting the 3 project numbers with the same parent if I include the projectNumber.
I think is the way I am linking the programTable to the ProjectTable.
Any help would be appreciated.
Answer : Repeating Rows when adding a field
possibly add:
service dhcp
Billy
Random Solutions
Any way of listing avi files in Windows 7 by the codec type?
Using cookies with ASP.NET
PHP File Upload
Access DB network performance very slow
Manual Update of WSUS Data Files
Outlook 2010
How do I enable the Create Email button in Access 2007 forms?
How do I allow data entry under certain conditions in an access form
output report with date and time stamp
asp.net - Is there anyway that you can detect that a label evals to nothing and trigger an event to alert the user that they need do something.