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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. btrini

    Error 3544: Partial string matching requires character operands

    Hey guys, I run the below code and get the error "3544: Partial string matching requires character operands" Not sure why since both fields are character fields. I tried to Cast to ensure they are character. Any help would be appreciated. Select * From BA_HARD_HOLD BA Left Join...
  2. btrini

    Fastload logon shows as invalid but I can log on to Teradata SQL Assistant with the same credentials

    Hi, I built a SQL script which I am calling at the Fastload DOS prompt however I am getting an error message that my UserID, Password or Account is Invalid. I am using the same User Id and Password I use to logon on to Teradata SQL Assistant. Is there another setting I need to change to get...
  3. btrini

    VB - Excel formula problem

    Hi all, I am having a problem with the following Excel formula:WS_2.Range("BJ" & CStr(Temp_Cell)).FormulaArray = "=SUM((DATE(YEAR('SOURCE TM DATA'!$AJ$2:$AJ$" & LastRow & " ),MONTH('SOURCE TM DATA'!$AJ$2:$AJ$" & LastRow & " ),1)<=DATEVALUE(""1/""&LEFT(L" & CStr(Temp_Cell) &...
  4. btrini

    Find record based on Combo box selection after open with where clause

    Actually PHV, I had to change it to the ON MOUSE DOWN event of the combo box. When I used the On Current event for the form, it did not show the filtered record. Thanks again for your help.
  5. btrini

    Find record based on Combo box selection after open with where clause

    That did the trick!!! Thank you very much PHV.
  6. btrini

    Find record based on Combo box selection after open with where clause

    It does not work if I put it into the AfterUpdate event. I am not seeing an after Load event for the form...but I am thinking it might work if I can get rid of the filter once the found record has already been displayed.
  7. btrini

    Find record based on Combo box selection after open with where clause

    Private Sub VIEW_Click() Dim stDocName As String Dim strFilter As String stDocName = "FORENSIC_OBSERVATION" strFilter = "[CASE_FILE_ID] = '" & [Forms]![REVIEW_FORM]![qry_FOR_OBSERVATIONS subform].[Form]![CASE_FILE_ID] & "' And [RE_OBSERVATION] = " &...
  8. btrini

    Find record based on Combo box selection after open with where clause

    Just tried and it did not make a difference. Still having the same issue. I have a question for you PHV. Is the problem that the underlying source for the form being filtered and therefore the combo box is unable to find the record that matches the selection?
  9. btrini

    Find record based on Combo box selection after open with where clause

    Would it matter, since Forms!FORENSIC_OBSERVATION!CASE_FILE_ID gets its value from Forms!Review_form!CASE_FILE_ID? I have no idea what difference it would cause?
  10. btrini

    Find record based on Combo box selection after open with where clause

    Hi PHV. the following is the SQL statement in the rowsource property of the combo box. SELECT RE_RECOVERIES.RE_OBSERVATION, RE_RECOVERIES.CASE_FILE_ID FROM RE_RECOVERIES WHERE (((RE_RECOVERIES.CASE_FILE_ID)=[Forms]![FORENSIC_OBSERVATION]![CASE_FILE_ID])); When the review form is open, I have a...
  11. btrini

    Find record based on Combo box selection after open with where clause

    Hi all, I have a Review form that has a sub-form which lists all observations made for that particular review. I have a "VIEW" option for each record in the subform that allows you to open the Observation form and view or modify the selected observation. The "VIEW" option opens the observation...
  12. btrini

    base query on optional criteria entered in a form

    Ok, but what if the user selects another combination of criteria. In other words, I need the user to enter any combination and then have the query run based on which criteria is selected.
  13. btrini

    base query on optional criteria entered in a form

    I have a form on which the user can select any one or combination of criteria. Based on the combination entered, I would like to query my table. I am thinking this can be done in code by using if...then..else. However I am having difficulty writing an AND clause. Can someone tell me if this...

Part and Inventory Search

Back
Top