Quote:
> >Hi,
> >I have two table like this
> >Table A - Type, StartDate, Price, Remark
> >Table B - Type, StartDate, Price, Remark
> >If I make a query to show the records which
> >a.Type = b.Type, a.StartDate = b.StartDate , a.Price=b.Price
> >it will work if all the data contain data.
> >However, I have a situation that some type will not contain StartDate
> >and Price, so those fields are empty. When I run the query which I
> >made by using above criteria, it won't the records contain emtpy
> >price.
> >How can I make the linking for Table A and B when they are empty ??
> Well... maybe you can't.
> Suppose you had 24 records of Type XZ in TableA, with blank StartDate
> and blank Price; and 32 records of Type XZ in TableB, also blank.
> Which of the 24 should link up with which of the 32? Or do you want
> ('cause that's what you'll get) all 768 possible combinations?
> Do either or both of these tables contain a Primary Key?
This is always the problems of those database, they don't have primary key.
So if we don't use linking,
any query we can do to show records with the conditions below
"three fields Type, StartDate, Price must be same in both table A and B
including they are null or empty string."
Thanks