Search results

  1. K

    Moving chosen strings to another field

    How could I doubt you, MoP? Terribly sorry. My fault. It's excellent. Most grateful.
  2. K

    Moving chosen strings to another field

    But I have. I must be doing it wrong then. Slapped wrists for me. Sorry, and thanks very much.
  3. K

    Moving chosen strings to another field

    Thanks, Mile-O-Phile, but it doesn't seem to work. I want to take any string beginning with the word Tomson - which is among a lot of strings in Field1 - and to have it moved into into Field2. I can extract all strings like that with a select query, of course, but I thought it would be handy...
  4. K

    Moving chosen strings to another field

    Can I get a new field in a query to move certain strings into NewField2, IIFLeft[FieldA], 6) = "Tomson", then move it to NewField2, please?
  5. K

    Selecting certain strings and pruning em'

    Sorry, MoP, I see the fault. Cheers.
  6. K

    Selecting certain strings and pruning em'

    Hi Mile-O-Phile The New Field method has been great to remove "www." from a vast number of urls. But no matter how I adjust the Immediate If, I am left with stragglers such as these www-users.york.ac.uk wwww.computerwoche.de wwww.einet.net wwwnet.nl And oddly enough, this one www.yu...
  7. K

    Selecting certain strings and pruning em'

    Very neat. That's really good, works a treat. Thanks very much, MoP. Cheers to you.
  8. K

    Selecting certain strings and pruning em'

    About 30k records in the one field of a large database have a four-character prefix that I need to remove. Some records don't have this prefix, and are fine. Is there a way please to trim the strings, by choosing each record in "Field1" that is prefixed by these four characters - "like accs" -...
  9. K

    Same folder same path, but ...

    I see, yes, that makes good sense, thank you. I've been thinking of keeping a collection of code to go back to, which I often do - if I haven't forgotten where the particular piece is now. Keeping a readily accessible collection must be what you experienced people do. I'll follow suit. Many...
  10. K

    Same folder same path, but ...

    And working well, thanks dcx693. I can see that if the file name is changed regularly, this might be a handy code. I wonder what its major use is, please? I mean, when would programmers always use this?
  11. K

    Same folder same path, but ...

    Looks very good, dcx693. Thanks very much. Cheers
  12. K

    Same folder same path, but ...

    Thanks, dcx693. But where will this code go? The code in this instance is, DoCmd.TransferSpreadsheet acExport, 8, "qryQuery", "t:\com\OnLine\Fred\dcx693.xls", True, "" Would you code DoCmd.TransferSpreadsheet acExport, 8, "qryQuery", "CurrentProject.dcx693.xls", True, "" You'll see I'm a...
  13. K

    Same folder same path, but ...

    The spreadsheet I export with DoCmd.TransferSpreadsheet acExport, goes to the same folder that contains the db. The path is a long one. Is there a way to use an abbreviated path please? For instance, an ellipsis takes Dreamweaver to the current folder. (The books aren't helping because I...
  14. K

    Exporting selecting fields to excel

    Thanks very much for that, MoP. Very impressive, appreciated very much.
  15. K

    Exporting selecting fields to excel

    Can a hyperlinked field be exported from Access into Excel and appear in Excel as hyperlinked please?
  16. K

    Exporting selecting fields to excel

    It's naming the fields that is the problem. I haven't found with the TransferSpreadsheet method how to stipulate the fields. A query of course gets round that.
  17. K

    Exporting selecting fields to excel

    Briliant, mate, thanks very much.
  18. K

    Exporting selecting fields to excel

    I need to export by code some fields from an access table into an excel spreadsheet. The table has many fields, but I want to export only three or four fields. Is this possible with VBA please?
  19. K

    Execute series of Queries in VBA

    Hi Wayne Would you just list the queries under the DoCmd.OpenQuery then please? Could you code the queries not to show their warnings as they appear? Cheers
  20. K

    One form, two tables

    Thanks, Michelangelo, but of course I don't want to do that. I'm sure there's a way I did this recently, only I can't recall how. I appreciate your help. Cheers
Back
Top Bottom