Adding code for subForm

B

Bob Vance

I have a sub form that I want to also use to open my Invoice as well,
tbInvoiceID is the text box with the InvoiceID
Can this be added to the code below
frmOverviewClient.subfrmOverviewClient.tbInvoiveID
-------------------------------------------------------------
Else
recInvoice.Open "SELECT * FROM tblInvoice where InvoiceID=" &
Form_frmModifyInvoiceClient.lstModify.value _
, CurrentProject.Connection, adOpenDynamic, adLockOptimistic
subShowInvoiceValues
subShowInvoiceDetailValues
 

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

Form Load problem 2
Cant find subForm 5
Ok This one is Tuff 3
Adding a CC to email code! 7
Emailing Question from my DB 2
Enter Date on Emailing 6
Adding a Field to a Function 5
Show all Records 1

Top