[英]How can we populate other form fields by updating a specific field from table sources in ms-access using code builder only
I have the below problem:我有以下问题:
Problem explained in this image这张图片中解释的问题
Code explained here代码解释here
tables relationship 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
You forgot the error message that probably tells about a syntax error, as you missed the space here:您忘记了可能说明语法错误的错误消息,因为您错过了此处的空格:
Me.Fee.RowSource = "SELECT ClassFee FROM " & _
"Classes Where Class_ID = " & Me.Class
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.