TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
dak 0
NA
3
0
DataView using 3 related tables
Aug 2 2004 8:20 AM
Hi! I've got a problem with DataViews and DataRelations. I have 3 tables A, B, and C. A and B have a n:1 DataRelation, and B and C have a n:1 DataRelation. Now I want to set a DataView on table A, filtered by a column in table C. No problem in SQL, using 2 JOINs, but I have no db engine as backend here, only the DataSet. I managed to combine 2 tables by using a RowFilter string like that: Parent(myRelation).myColumn = someValue But I get an error when I try this: Parent(myRel1).Parent(myRel2).myColumn = someValue I know I could do this with 2 DataViews, creating the Filter string for the second with the ouput data of the first. But I would really like to do it in one expression. Anybody got an idea for a smart RowFilter string?
Reply
Answers (
0
)
How to Compress and archive an SQL database using visual c# .net
DB lookup for label ctrl.