M
Matthew
Hi,
First off, I don't really have much idea what I'm doing with dbs.
Now the queries work fine but complain or create 'bad records' when I try
and add new ones. The problem is arising because the linkage fields amongst
tables don't have the correct value. I guess I was expecting that for
example with the sql below that Access would have no need to told what the
"correct' value for "ownerid" should be because doesn't it know this
already? So question is: How do you append records with this scenario. Any
reason why adding with SELECT isn't working. Thanks for helping, matthew.
SELECT tblLists.listid, tblLists.listname, tblLists.sorted, tblLists.public,
tblLists.ownerid
FROM tblLists
WHERE (((tblLists.ownerid)=get_global("userid")))
ORDER BY tblLists.listname;
First off, I don't really have much idea what I'm doing with dbs.
Now the queries work fine but complain or create 'bad records' when I try
and add new ones. The problem is arising because the linkage fields amongst
tables don't have the correct value. I guess I was expecting that for
example with the sql below that Access would have no need to told what the
"correct' value for "ownerid" should be because doesn't it know this
already? So question is: How do you append records with this scenario. Any
reason why adding with SELECT isn't working. Thanks for helping, matthew.
SELECT tblLists.listid, tblLists.listname, tblLists.sorted, tblLists.public,
tblLists.ownerid
FROM tblLists
WHERE (((tblLists.ownerid)=get_global("userid")))
ORDER BY tblLists.listname;