Hello,
I have made a view in SQL Server, that consists of a join with another
view and a table. That other view
In Access, I have linked the view as a linked table. When I view the
result there, the result is not the same as in SQL Server. The problem
is that in some cases one of the joins returns two exact the same
records in stead of two different ones.
An now, the really weird part is, that when I set the Recordsource
property of the form to a select statement from the view, the form
returns the correct records, although when I run the select statement
in the Recordsource property as a query, again the wrong results are
returned.
Is there anybody who has a clue of what can be the problem here?
Thanks in advance,
Sandra 2 1507
Sandra,
When you link your view, make sure you correctly identify the fields
constituting uniqueness.
"Sandra Setz" <ss***@wxs.nl> wrote in message
news:74*************************@posting.google.co m... Hello,
I have made a view in SQL Server, that consists of a join with another view and a table. That other view In Access, I have linked the view as a linked table. When I view the result there, the result is not the same as in SQL Server. The problem is that in some cases one of the joins returns two exact the same records in stead of two different ones.
An now, the really weird part is, that when I set the Recordsource property of the form to a select statement from the view, the form returns the correct records, although when I run the select statement in the Recordsource property as a query, again the wrong results are returned.
Is there anybody who has a clue of what can be the problem here?
Thanks in advance, Sandra
It sounds like, when linking the view, when you were asked to indicate which
fields uniquely identify a row, you gave a combination of fields that does not
completely define a unique row in the view output.
On 11 Dec 2003 04:51:42 -0800, ss***@wxs.nl (Sandra Setz) wrote: Hello,
I have made a view in SQL Server, that consists of a join with another view and a table. That other view In Access, I have linked the view as a linked table. When I view the result there, the result is not the same as in SQL Server. The problem is that in some cases one of the joins returns two exact the same records in stead of two different ones.
An now, the really weird part is, that when I set the Recordsource property of the form to a select statement from the view, the form returns the correct records, although when I run the select statement in the Recordsource property as a query, again the wrong results are returned.
Is there anybody who has a clue of what can be the problem here?
Thanks in advance, Sandra This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: sci |
last post by:
Could someone help me by answering the questions below?
What's a cursor?
What's difference between Query and View?
Is a RecordSet just part of a table? Can it be part of a query of view?
If...
|
by: ScottyBaby |
last post by:
Hi,
I've run into a curious problem with MS SQL Server 8.0. Using sp_help and
SQL Query Analyzer's object browser to view the columns returned by a view,
I find that sp_help is reporting stale...
|
by: YURYSSG |
last post by:
I migrated a DB from Access 2000 to SQLserver 2000.
The tables are OK, but I see the old Access views... as TABLE in
SQLserver!!
Any suggestions?
--
|
by: jc |
last post by:
Hi.
A question I have is with regard to the use of views with SQL2000. If
I have a view called "A_view" and used in the following manner;
----------------
SELECT ...
FROM A_View
WHERE ....
...
|
by: stacdab |
last post by:
We have a partitioned view with 4 underlying tables. The view and each
of the underlying tables are in seperate databases on the same server.
Inserts and deletes on the view work fine. We then...
|
by: Paolo Pignatelli |
last post by:
I have an aspx code behind page that goes something like this in the HTML
view:
<asp:HyperLink id=HyperLink1 runat="server"
NavigateUrl='<%#"mailto:" &...
|
by: Beowulf |
last post by:
I have the view below and if I use vwRouteReference as the rowsource
for a combo box in an MS Access form or run "SELECT * FROM
vwRouteReference" in SQL Query Analyzer, the rows don't come through...
|
by: Andrew Lias |
last post by:
I've been given a task that I believe is, basically, impossible, but
I'd like to see if there's a way to do it.
What my boss wants me to do is to create a view, in SQL Server 2000,
that will...
|
by: Doug |
last post by:
Hi,
I learned a little about the model view presenter pattern at a
conference this last week and am experimenting with it. It's working
pretty well but I have a question.
I am trying to use...
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
| |