Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Function fncUpdateBoothDimension() as boolean
On Error Resume Next
Dim rstBooth as Recordset
Dim strSQL as String
strSQL = "SELECT * FROM [Booth Dimensions] WHERE QuoteID = " & me.txtQuoteID.Value
Set rstBooth = Currentdb.OpenRecordset(strSQL)
If rstBooth.BOF = True Then
MsgBox "Cannot Find This Quote ID to update Booth Dimensions"
fncUpdateBoothDimension = False
Exit Function
Endif
rstBooth.Edit
rstBooth![Booth Length] = Me.txtBoothLength.Value
rstBooth.Update
rstBooth.close
fncUpdateBoothDimension = True
Err_Exit:
Exit Function
Err_Func:
fncUpdateBoothDimension = True
Goto Err_Exit
End Function
me.txtQuoteID.Value
Call fncUpdateBoothDimension