JavaScript is required

Khi thiết kế biểu mẫu phụ (subform) cho một biểu mẫu chính (mainform), nếu không muốn các công thức được đặt trong phần Form Footer của biểu mẫu phụ hiển thị ra khi xem biểu mẫu chính ở chế độ FormView, thì ta sẽ thực hiện:

A.
Chuyển biểu mẫu phụ sang chế độ hiển thị mặc định là Columnar
B.
Chuyển biểu mẫu phụ sang chế độ mặc định là Datasheet
C.
Chuyển biểu mẫu phụ sang chế độ hiển thị mặc định là Tabular
D.
Tất cả câu trên đều đúng
Trả lời:

Đáp án đúng: D


The question is about preventing formulas in the Form Footer of a subform from displaying when viewing the main form in FormView. The options relate to different view modes (Columnar, Datasheet, Tabular). However, hiding the Form Footer typically involves setting the 'Visible' property of controls or sections in the footer, or using VBA code to control visibility based on context (e.g., checking if the form is a subform). The view modes primarily affect how the *main* data is presented, not the visibility of *additional* elements like the Form Footer. Therefore, none of the options A, B, C directly address the problem. Thus, option D ("All of the above are correct") is also not correct. In this case, none of the answers are entirely correct. However, if one had to choose the closest or most related answer, one might choose B, reasoning that Datasheet view is often used to view data in a general overview and may focus less on sections like the Form Footer compared to other modes, but this does not guarantee completely hiding the Form Footer. Therefore, while none of the answers are *completely* accurate, you still need to choose the most suitable answer based on knowledge and experience. Since there is no option saying "None of the answers are correct", we need to choose the least wrong answer. Since the question does not specifically target VBA, we select the next likely approach. None of the answers are perfect.

Câu hỏi liên quan