'Quotes Specific Functionality
Private Sub btnQuotes_Click()
Call Me.Quotes_Click
End Sub
[B]Public Sub Quotes_Click()[/B]
On Error GoTo Err_Quotes_Click
'See if the FE temp table has the correct records already cached
If ObjQuotesTbl.FETempTableContentsID = ObjPartsTbl.id Then
'Skip some steps...
Else
'Reset the Quotes object
Call ObjQuotesTbl.Clear
'Set the PartID we are interested in quotes for...
ObjQuotesTbl.partid = ObjPartsTbl.id
'Indicate that the FE Temp Table needs to be refreshed
ObjQuotesTbl.RefreshFETempTable = True
End If
'Prepare the quotes form
Call modquotes_bootstrap_quotesinit(Me)
'Open the quotes window via its class
flgInitArchitecture = True
Set frmquotes = New Form_quotes
frmquotes.Visible = True
Exit_Quotes_Click:
Exit Sub
Err_Quotes_Click:
Call errorhandler_MsgBox("Form: " & TypeName(Me) & ", Subroutine: Quotes_Click()")
Resume Exit_Quotes_Click
End Sub
Private Sub fldquotespoprice_DblClick(Cancel As Integer)
Call Me.Quotes_Click
End Sub
Private Sub fldquoteslttool_DblClick(Cancel As Integer)
Call Me.Quotes_Click
End Sub
Private Sub fldquotesltfa_DblClick(Cancel As Integer)
Call Me.Quotes_Click
End Sub
Private Sub fldquotesltprod_DblClick(Cancel As Integer)
Call Me.Quotes_Click
End Sub
Private Sub fldquoteslttotal_DblClick(Cancel As Integer)
Call Me.Quotes_Click
End Sub