开发者

Why do my Access linked subforms not display correctly when refreshed?

开发者 https://www.devze.com 2022-12-18 22:50 出处:网络
I have a form (Quote) with an auto-number ID, on the form at the moment are two subforms that show different items (sub 1 shows partition modules sub 2 shows partition abutments) both forms use the sa

I have a form (Quote) with an auto-number ID, on the form at the moment are two subforms that show different items (sub 1 shows partition modules sub 2 shows partition abutments) both forms use the same parts tables to build them.

Both forms are lin开发者_StackOverflow社区ked to the quote form using the ID.

All works well until the forms is refreshed or re-loaded, subform 1 shows the module names and quantities and blank spaces for the abutment names but shows the quantiews for the abutments, the reverse of this is shown in the abutments subform 2.

When the lists for the variuos types and the detailed parts lists are printed they are correct.

This seems to be only a visual problem.

All based on Access 2003.

Subform 1

SELECT Quote_Modules.ModuleID, 
       Quote_Modules.QuoteID, 
       Quote_Modules.ModuleDescription, 
       Quote_Modules.ModuleQty, 
       Quote.Style, 
       Quote.Trim 
FROM Quote 
    INNER JOIN Quote_Modules ON Quote.QuoteID=Quote_Modules.QuoteID 
ORDER BY Quote_Modules.ModuleID; 

Subform 2

SELECT Quote_Modules.ModuleID, 
       Quote_Modules.QuoteID, 
       Quote_Modules.ModuleDescription, 
       Quote_Modules.ModuleQty, 
       Quote.Style, 
       Quote.Trim 
FROM Quote 
    INNER JOIN Quote_Modules ON Quote.QuoteID=Quote_Modules.QuoteID 
ORDER BY Quote_Modules.ModuleID;
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号