SELECT [Main Tb].[ID#], [Main Tb].Name, DLast("[Sub Tb_Status].[Status]","[Sub Tb_Status]","[Sub Tb_Status].[Main_ID]=" & [ID#]) AS LastStatus
FROM [Main Tb];
多谢了! 可我试了以后,系统说DLast("[Sub Tb_Status].[Status]","[Sub Tb_Status]","[Sub Tb_Status].[Main_ID]=" & [ID#]) AS LastStatus FROM [Main Tb];
这部分里有错误.
in query expression <expression>. (Error 3075)
The expression you typed is not valid for the reason indicated in the message. Make sure you have typed field names and punctuation correctly, and then try the operation again.