Welcome toVigges Developer Community-Open, Learning,Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
254 views
in Technique[技术] by (71.8m points)

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

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.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神答复

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to Vigges Developer Community for programmer and developer-Open, Learning and Share

2.1m questions

2.1m answers

63 comments

56.7k users

...