Hi,
I have been playing about with the Create Query tool in Visual Studio 2010 and I am finding it useful, how ever I can only fill the filter function without static information.
Basaically I have two tables that are linked, I am wanting to display information from one table called Notes. Annoyingly the person who originally created these tables made a second table called File2Note to link that table to our main client database called File. To sum it up, each file has a FileID, in the File2Note there is a column called FileID and a column called NoteID, and in the Note table there is a column called NoteID. Dont see why they couldnt have just put them in the same table but never mind
So I am wanting something along the lines of
me.NoteTableAdapter.query(me.dataset.note)
where I have created a query with a dynamic filter on the FileID.
Sorry If I have explained badly.
I have been playing about with the Create Query tool in Visual Studio 2010 and I am finding it useful, how ever I can only fill the filter function without static information.
Basaically I have two tables that are linked, I am wanting to display information from one table called Notes. Annoyingly the person who originally created these tables made a second table called File2Note to link that table to our main client database called File. To sum it up, each file has a FileID, in the File2Note there is a column called FileID and a column called NoteID, and in the Note table there is a column called NoteID. Dont see why they couldnt have just put them in the same table but never mind
So I am wanting something along the lines of
me.NoteTableAdapter.query(me.dataset.note)
where I have created a query with a dynamic filter on the FileID.
Sorry If I have explained badly.