-
Nested working Access query doesn't work in VB.net
I have the following query which I 'm using in Access 2003 without any problems. When I use the same query (& database) in VB.NET it recognizes only 2 parameters (panels.study & panels.panel ) instead of 4.
SELECT [time]
FROM times
WHERE times.studypanelperioddayID = (select days.ID from days where days.studypanelperiodID = (select periods.ID from periods where periods.panelstudyID = (select panels.ID from panels where [panels.study]=? and [panels.panel]=?) and [periods.period]=? ) and [days.day]=?);
Is there any difference between the syntax in Access 2003 and VB.NET?
Thanks!
Dries Mahieu
-
VB.Net doesn't have its own SQL Syntax. It uses SQL Server. And that syntax varies from Access.
That being said... I am not that good with SQL, so I can't help you convert your query... other than maybe writing it from scratch using Query Analyzer to test?
Similar Threads
-
By Terry in forum ASP.NET
Replies: 2
Last Post: 03-12-2003, 08:17 AM
-
By Terry in forum ASP.NET
Replies: 0
Last Post: 03-03-2003, 11:46 AM
-
By Greg Busby in forum VB Classic
Replies: 2
Last Post: 12-22-2002, 01:24 AM
-
By Jonathan Allen in forum .NET
Replies: 331
Last Post: 03-19-2001, 09:00 AM
-
By Larry Muller in forum VB Classic
Replies: 1
Last Post: 02-24-2001, 11:12 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Development Centers
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center
|