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 derfloh 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: *

  • Users: Cooch
  • Order by date
  1. Cooch

    Replace() a string in a table based another table of values

    Finally sussed it out! I had spelt !ProcessData wrong, works perfectly now. Thanks for your help on this one Rick, much appreciated. [thumbsup2] Cheers, Cooch
  2. Cooch

    Replace() a string in a table based another table of values

    G'day Rick, Should the statement read: If (!UOM = rstAlias!UOM) And (s <> !ProcessData) Then instead of: If (!UOM <> rstAlias!UOM) And (s <> !ProcessData) Then I am getting the error Run-time error '3265': Item not found in this collection. Don't tell me, I am going to try and work it...
  3. Cooch

    Replace() a string in a table based another table of values

    Howdy Rick, Absolutely fantastic!!! It worked an absolute treat. I cannot thank you enough. Out of curiosity, if I wanted to restrict the action to only where the field UOM matched in both tables would it be possible? I didn't ask this question first up because I honestly did't think it was...
  4. Cooch

    Replace() a string in a table based another table of values

    My apologies for not being clearer. The problem I have is where the Alias from tblAlias is contained within the string in ProcessData in tblData I want to strip that alias from the string. Using example 2 in tblData (2PCV04), as the string &quot;KPA.G&quot; is in tblAlias (line 2) I want to...
  5. Cooch

    Replace() a string in a table based another table of values

    Thanks Rick, The main reason I was going to use a replace function was because you can't use wildcards in an IN statement. If I have been ill informed, please let me know because I would prefer not to have to use code if I dont have to. Regards, Cooch
  6. Cooch

    Replace() a string in a table based another table of values

    Hi, I am trying to use the VBA function Replace() in Access 2000 to replace field values in a table based on values in a field of another. Example Tables TblData (approx 40,000 records) TagNo ProcessData 1PT5 100Kpa 2PCV04 10KPA.G 1JB12 Yellow 1PT07 7psi 5PG03...

Part and Inventory Search

Back
Top