D
Diarmuid
Hi
I have database for timesheets. I have a form frmTimeSheet, with a sub
form - frmsubTimeDetails. frmsubTimeDetails is based on a snapshot of table
tabTimeDetails and does not allow changes. There are over 30 fields on
tabTimeDetails, so I only display 10 fields on frmsubTimeDetails. I have
cmdView which lets the user view the full Timedetail in another form -
frmTimePopup. frmTimePopup is unbound, I load the values into text boxes,
and then write back when the user clicks save.
With me so far? So this is my code in cmdView
vBookMark = Me.Bookmark
DoCmd.OpenForm stDocName, , , , , acDialog, stOpenArgs
Me.Requery ' Which will move back to
the first record in frmsubTimeDetails
Me.Bookmark = vBookMark ' Move to the record that was current
before cmdViewpressed
All works fine except for one thing. Within frmTimePopup, there is an
InvoiceID field. I'd like the user to be able to double click the InvoiceID,
to view the Invoice in frmInvoice. However, because I'm in acDialog mode,
frmInvoice appears behind frmTimePopup.
Any suggestions for a way around this? I'd like for frmTimePopup to be a
normal form, and when the user clicks Save, requery frmsubTimeDetails and
point back to the correct record.
Thanks
Diarmuid
I have database for timesheets. I have a form frmTimeSheet, with a sub
form - frmsubTimeDetails. frmsubTimeDetails is based on a snapshot of table
tabTimeDetails and does not allow changes. There are over 30 fields on
tabTimeDetails, so I only display 10 fields on frmsubTimeDetails. I have
cmdView which lets the user view the full Timedetail in another form -
frmTimePopup. frmTimePopup is unbound, I load the values into text boxes,
and then write back when the user clicks save.
With me so far? So this is my code in cmdView
vBookMark = Me.Bookmark
DoCmd.OpenForm stDocName, , , , , acDialog, stOpenArgs
Me.Requery ' Which will move back to
the first record in frmsubTimeDetails
Me.Bookmark = vBookMark ' Move to the record that was current
before cmdViewpressed
All works fine except for one thing. Within frmTimePopup, there is an
InvoiceID field. I'd like the user to be able to double click the InvoiceID,
to view the Invoice in frmInvoice. However, because I'm in acDialog mode,
frmInvoice appears behind frmTimePopup.
Any suggestions for a way around this? I'd like for frmTimePopup to be a
normal form, and when the user clicks Save, requery frmsubTimeDetails and
point back to the correct record.
Thanks
Diarmuid