Remove Link

  • Thread starter mattc66 via AccessMonster.com
  • Start date
M

mattc66 via AccessMonster.com

I have the following code.

When the DoCmd.Close runs it opens a form. However it opens the form based on
the stLink. That was form the DoCmd before that one. How do I set the syntax
so that it opens the form and shows all the records?

stLink = "[OrderNum]=" & "'" & Me![OrderNum] & "'"
stDocName = "sfrmShipLabelPrompt_C1"
DoCmd.OpenForm stDocName, , , stLink
DoCmd.Close acForm, "frmShipMain_C1", acSaveYes
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top