What happened to the stored queries defined in the FE of our Access FE-BE application, after upsizing the Access BE (just tables) to SQL Server?
As an example: [ProjectChances].[PropNum] ç related è [Sales].[PropNum]
Below the excerpt of a SQL Server printout showing the relationship between two tables:
ALTER TABLE [dbo].[ProjectChances] ADD
CONSTRAINT [ProjectChances_FK00] FOREIGN KEY
(
[PropNum]
) REFERENCES [dbo].[Sales] (
[PropNum]
)
GO
An original query using this 2 tables before upsizing:
DELETE Right([Prop],1) AS Expr1, [ProjectChances].*
FROM [Sales] INNER JOIN [ProjectChances] ON Sales].[ PropNum] = [Sales].[ PropNum]
WHERE (((Right([Prop],1))<"8"));
The same query expression the way it appears after the upsizing:
DELETE Right([Prop],1) AS Expr1, [ProjectChances].*
FROM [Sales], [ProjectChances]
WHERE (((Right([Prop],1))<"8"));
As one can see, the table relationship in the query just disappeared.
Worse, designing the same query starting from zero with the tables now linked to the SQL Server, the relationship that appears spontaneously in:
DELETE Right([Prop],1) AS Expr1, [ProjectChances].*
FROM [ProjectChances] INNER JOIN [Sales] ON [ProjectChances].ID = [Sales].ID
WHERE (((Right([Prop],1))<"8"));
is not based on the defined BE relationships but on fieldnames: 2 fields happen to have the same name “ID” however are not related at all in the db BE design.
Apparently the FE is not aware of any relationships established at the BE level, something that also seems to be confirmed by the fact that no relationships appear in the Access relationship window.
It looks like as if I will have to rewrite all the queries of the application”, something that really surprises me: what one sees in discussion groups are statements like this: “creating links to the new SQL backend allow your application to run just as it is, with very minimal modifications” and “if you use linked tables, your front end can work virtually unchanged with SQL Server”
Can somebody give me a clue to what is happening here?
Going through MS white papers I saw a list of necessary APIs. Could it be that Access needs some SW added in order to work properly with the SQL Server?
Thank you very much for any support!
As an example: [ProjectChances].[PropNum] ç related è [Sales].[PropNum]
Below the excerpt of a SQL Server printout showing the relationship between two tables:
ALTER TABLE [dbo].[ProjectChances] ADD
CONSTRAINT [ProjectChances_FK00] FOREIGN KEY
(
[PropNum]
) REFERENCES [dbo].[Sales] (
[PropNum]
)
GO
An original query using this 2 tables before upsizing:
DELETE Right([Prop],1) AS Expr1, [ProjectChances].*
FROM [Sales] INNER JOIN [ProjectChances] ON Sales].[ PropNum] = [Sales].[ PropNum]
WHERE (((Right([Prop],1))<"8"));
The same query expression the way it appears after the upsizing:
DELETE Right([Prop],1) AS Expr1, [ProjectChances].*
FROM [Sales], [ProjectChances]
WHERE (((Right([Prop],1))<"8"));
As one can see, the table relationship in the query just disappeared.
Worse, designing the same query starting from zero with the tables now linked to the SQL Server, the relationship that appears spontaneously in:
DELETE Right([Prop],1) AS Expr1, [ProjectChances].*
FROM [ProjectChances] INNER JOIN [Sales] ON [ProjectChances].ID = [Sales].ID
WHERE (((Right([Prop],1))<"8"));
is not based on the defined BE relationships but on fieldnames: 2 fields happen to have the same name “ID” however are not related at all in the db BE design.
Apparently the FE is not aware of any relationships established at the BE level, something that also seems to be confirmed by the fact that no relationships appear in the Access relationship window.
It looks like as if I will have to rewrite all the queries of the application”, something that really surprises me: what one sees in discussion groups are statements like this: “creating links to the new SQL backend allow your application to run just as it is, with very minimal modifications” and “if you use linked tables, your front end can work virtually unchanged with SQL Server”
Can somebody give me a clue to what is happening here?
Going through MS white papers I saw a list of necessary APIs. Could it be that Access needs some SW added in order to work properly with the SQL Server?
Thank you very much for any support!