JohnReaume
Programmer
I'm hope you can help me with a problem that was not an issue when using DAO-Jet/mdb's
Ok I have three tables...
#1 (Users) W/USRID as a primary key
USRID USRName
1 John
2 Fred
3 James
Ect.
#2 (Rooms) W/ID as a primary key
ID Category
1 Apt#1
2 Apt#2
3 Apt#3
4 Apt#4
5 Apt#5
6 Suite#1
7 Condo#123
Ect.
#3 (Details) W/Date and ID the primary keys
and a relationship between table #2 ID and table #3
and a relationship between table #1 USRID and table #3
Date ID ID USRID
5/08/5006 1 1
5/08/5006 2 2
5/08/5006 3 3
5/09/5006 6 2
5/10/5006 7 3
For this example, let's say I'm only looking at date of 5/8 on my form.
I wish all ROOMS from table #2 to be displayed with the match from #3 (Details)
In a mdb, all I have to do was use a LEFT JOIN from #2 table "filtered by date" to the #3 table
The above would end up as...
Rooms (Text) Name (Combobox)
Apt#1 John
Apt#2 Fred
Apt#3 James
Apt#4
Apt#5
Suite#1
Condo#123
This worked perfectly and adding to the other Rooms was not an issue
In a adp, I can edit and delete with no problem, but it will not add records (the blank areas) without error messages when trying to update
It's like SQL/adp thinks it's an editable record on table #3 when it's a new record
Anyway around this?
Note: The above is greatly simplified and nowhere near the complexity of my database
Ok I have three tables...
#1 (Users) W/USRID as a primary key
USRID USRName
1 John
2 Fred
3 James
Ect.
#2 (Rooms) W/ID as a primary key
ID Category
1 Apt#1
2 Apt#2
3 Apt#3
4 Apt#4
5 Apt#5
6 Suite#1
7 Condo#123
Ect.
#3 (Details) W/Date and ID the primary keys
and a relationship between table #2 ID and table #3
and a relationship between table #1 USRID and table #3
Date ID ID USRID
5/08/5006 1 1
5/08/5006 2 2
5/08/5006 3 3
5/09/5006 6 2
5/10/5006 7 3
For this example, let's say I'm only looking at date of 5/8 on my form.
I wish all ROOMS from table #2 to be displayed with the match from #3 (Details)
In a mdb, all I have to do was use a LEFT JOIN from #2 table "filtered by date" to the #3 table
The above would end up as...
Rooms (Text) Name (Combobox)
Apt#1 John
Apt#2 Fred
Apt#3 James
Apt#4
Apt#5
Suite#1
Condo#123
This worked perfectly and adding to the other Rooms was not an issue
In a adp, I can edit and delete with no problem, but it will not add records (the blank areas) without error messages when trying to update
It's like SQL/adp thinks it's an editable record on table #3 when it's a new record
Anyway around this?
Note: The above is greatly simplified and nowhere near the complexity of my database