![](/img/trans.png)
[英]How to send a value which does not have a form field, along with the rest of the form fields to a table as a new record ms-access 2013?
[英]How can we populate other form fields by updating a specific field from table sources in ms-access using code builder only
我有以下問題:
這張圖片中解釋的問題
代碼解釋here
表關系在這里
Private Sub Class_AfterUpdate()
Me.Fee.RowSource = "SELECT ClassFee FROM" & _
"Classes Where Class_ID = " & Me.Class
Me.Fee = Me.Fee.ItemData(0)
End Sub
您忘記了可能說明語法錯誤的錯誤消息,因為您錯過了此處的空格:
Me.Fee.RowSource = "SELECT ClassFee FROM " & _
"Classes Where Class_ID = " & Me.Class
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.