![](/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.