因为目前唯一的解决方案是法语论坛上的Form + VBA,我只想确保一位SQL英语口语大师找不到我梦寐以求的解决方案。
我们有这些表格:
T_Animals : Contain Type and SubType + Dog name and other informations
T_Types : can be Dog, Cat, Fish...
T_SubTypes : can be Husky for Dogs, Siamese Cat for cats...
要为T_AnimalsTypes填充组合,这很容易:
SELECT [T_Types].IdPK, [T_Types].[Description] FROM T_Types ORDER BY [Description];
T_SubTypes表包含以下字段:
IdPK : Primary Key
Description : the sub type string
TypeFK : Foreign key in T_Types
要填充SubTypes组合,它必须基于Types组合(例如过滤所有Dogs)。 有没有办法在没有VBA或表格的Table Edition中执行此操作?
谢谢,
文森特