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 strongm 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. gregmw

    Find Function from excel in an Access Query

    Thanks that is the function I need to use.
  2. gregmw

    Find Function from excel in an Access Query

    I am having trouble converting a simple expression in excel to access. The formula in excel is =(LEFT(J25,FIND("|",J25)-1)) in access do you know what the equivalent FIND function is? Thanks Greg
  3. gregmw

    Random Sample Generation

    Cheers phv, very clever, it works perfectly.
  4. gregmw

    Random Sample Generation

    Does anyone know if it is possible to create a random sample from a query in access? I need 4 samples from a table that will change each month. Any help would be great Thanks
  5. gregmw

    Italics in Report

    Okay I have figured it out needed speech marks around the "Yes" to make it work. However still don't know how to output to word with out losing the formatting the code has changed. Any ideas? Thanks
  6. gregmw

    Italics in Report

    lameid: your answer dosen't seem to work the report runs but none of the formatting changes to Italics. I have used the same code with Me![ToChange].ForeColor = vbRed which changes the correct figures to red. dhookom: I am using 97. Yes to both of your other questions. The code works for when...
  7. gregmw

    Italics in Report

    How do I use the vb code in a report to change a text box to italic based on what's in the text box I have tried the code below. But it dosen't change the Font to Italics Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer) If Me![ToChange] <= -200000 And Me![ccycheck] = "GBP"...
  8. gregmw

    alternative ways to bold, etc in reports

    How do I use the vb code in a report to change a text box to italic based on what's in the text box I have tried the code below. But it dosen't change the Font to Italics Private Sub Detail_Format(Cancel As Integer, FormatCount As Integer) If Me![ToChange] <= -200000 And Me![ccycheck] = "GBP"...
  9. gregmw

    Make Table Query

    I have a make table query. I would like the user to be given an option to call the table what they like when the query is run. Is this possible without having to change the table name via the query each time? Thanks
  10. gregmw

    List Box Macro In Excel

    Rob thanks for trying to help imagine if you will I have a list box with 3 selections available here is the simplified macro attached (with your extra bits of code) Sub ModifyS() Static oldchoice As String Replace = Application.InputBox(&quot;Warning you will replace the data entered...
  11. gregmw

    List Box Macro In Excel

    These ideas will not work as the way a macro runs on a list box is it only activates when you have changed the selection.
  12. gregmw

    List Box Macro In Excel

    List Box Macro I have a list box that has a macro attached to it so that when a selection is made from the list box the macro runs. However one of the options I have is when the selection is changed the user is asked if they are sure they want to change to the new selection. If they input Yes...
  13. gregmw

    Union Query?

    Rudy & Bob thank you both. The two methods do work perfectly although I think Rudy's is slighty faster thanks for your efforts.
  14. gregmw

    Union Query?

    I create my queries in design mode. I am not flash using sql. How would I go about merging two tables &quot;T1&quot; and &quot;T2&quot; to create a table called &quot;Combined&quot; as set out below. T1 claim amt1 1 10 2 20 3 30 T2 claim amt2 2 15 5 25 7...
  15. gregmw

    Merging two tables

    I create my queries in design mode. I am not flash using sql. How would I go about displaying one record for each claim and then one other field for each table so basically T1 claim amt1 1 10 2 20 3 30 T2 claim amt2 2 15 5 25 7 35 Combined (what I want)...
  16. gregmw

    Merging two tables

    I am using access 97 and I have two tables T1 & T2 I am joining these using a claim number field. In the join property I can select claims from T1 that match T2 or all claim in T1 plus matched one from T2 or all from T2 and matched from T1. Ideally I want all claims from both tables (but zero...
  17. gregmw

    Date Format

    Thanks very much
  18. gregmw

    Date Format

    I am using Access 97 and it dosen't regonise the function formatDateTime
  19. gregmw

    Date Format

    I have a field in Access which is formated as Date/Time I would like to make a field from this that is formated Just date &quot;dd/mm/yyyy&quot; is there an easy fomula in access for this? Thanks very much
  20. gregmw

    File Name Problem

    That works fine, And such a simple answer. Thanks.

Part and Inventory Search

Back
Top