I will try to make it as concise as possible.
I got three tables
tblBrands
-------------
BrandID (PK
BrandName
(Each Brand has different series. So I created a series table)
tblSeries
-------------
SeriesID (PK)
BrandName
SeriesName
tblWatches
---------------
WatchID (PK)
BrandName (*)
SeriesName (**)
(*) populated list box with query SELECT BrandName FROM tblBrands ORDER BY BrandName - This worked fine
here where it gets tricky
(**) this column I need to only show the series under the Brand that I chose. So I use this line SELECT [Series].[SeriesName] FROM Series WHERE [Brands].[BrandName] = [Series].[BrandName];
It works in a wierd way where it opens an alert asking me to type the Brand value. But I want it to take the value of BrandName automatically from the current record.
Who can help me to solve this?
Thanks,
AC
I got three tables
tblBrands
-------------
BrandID (PK
BrandName
(Each Brand has different series. So I created a series table)
tblSeries
-------------
SeriesID (PK)
BrandName
SeriesName
tblWatches
---------------
WatchID (PK)
BrandName (*)
SeriesName (**)
(*) populated list box with query SELECT BrandName FROM tblBrands ORDER BY BrandName - This worked fine
here where it gets tricky
(**) this column I need to only show the series under the Brand that I chose. So I use this line SELECT [Series].[SeriesName] FROM Series WHERE [Brands].[BrandName] = [Series].[BrandName];
It works in a wierd way where it opens an alert asking me to type the Brand value. But I want it to take the value of BrandName automatically from the current record.
Who can help me to solve this?
Thanks,
AC
Comment