I have a form that opens from a button on another form. It includes a field with a DLOOKUP of the record displayed on the first form. It works just fine, but I'd like to open this second form from two different first forms. So I need the forms! reference in the DLOOKUP to be different depending on the form it was opened from. Can I use a variable somehow for this?
Can find my way around Access pretty well but when I get into VB or even SQL, things get complicated for me.
Thanks