Access VBA code in report gives the same result for each row

随声附和 提交于 2021-02-17 05:53:45

问题


This is my report:

I have coded in VBA so that the 3rd column (texbox) shows the ID related to each MinDeNote.
But it just shows 3 for all row.
3 is the ID of the first product, not all of them.
How could I do to make a loop? Thanks !

This is my code:

Me!Texte7 = DLookup("F_Code", "Query", "Note = """ & [MinDeNoteBox] & """")

The outcome is gonna be different for each row, which is not the case now.

来源:https://stackoverflow.com/questions/65658180/access-vba-code-in-report-gives-the-same-result-for-each-row

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!