Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search Fields

Status
Not open for further replies.

breadbox

MIS
Jul 18, 2007
12
US
I want to be able to type in a part number and date range and do a search. How can I create this?

Any help would be great.
 
Also, I have a text box that has =[DryWeight]/[DeltaWeight]in the control source of Density and if the answer doesn't come back between2.45-249 I need the error to appear, but this code is not working.

HELP


Private Sub Density_BeforeUpdate(Cancel As Integer)
If ((Me.Density < 2.45) Or (Me.Density > 2.49)) Then MsgBox "error check your weights"
Cancel = True
End If
End Sub
 
If Me!Density < 2.45 Or Me!Density > 2.49 Then
MsgBox "error check your weights"
Cancel = True
End If

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
Thanks, for the answer to the second question, it works.

I want to be able to type in a part number and date range and do a search. How can I create this?

Any help would be great.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top