Recent content by twoplustwo

  1. T

    Question Extract PDF Values

    Afternoon all, I am trying to extract some values from a PDF (attached) and write them to an Access database. I am unsure of the approach, especially extracting values from the file. Thanks for any suggestions. Cheers
  2. T

    Import Text File Via ADO - Null Values

    I did try this: sSql = "UPDATE " & sFileName & " SET " & sFileName & ".Field5 = ""'"" & [Field5]" To add an apostrophe to the values in Field 5 to no avail. Error "No value given for one or more parameters." was raised. sFileName has the .csv suffix - might this be causing a problem...
  3. T

    Import Text File Via ADO - Null Values

    Hey guys, hope you're all well. I am importing a large text file via ADO. A given column contains both numeric and text values - these are identifiers for a product type. When I read the file to the recordset the first value sets the variant array field type (in this case double). The text...
  4. T

    Import Web Query From Report Location w/out Link

    The routine attached provides the following attached messagebox. Sub DoIt() Dim sURL As String Dim sEnv As String Dim xmlhtp As New MSXML2.XMLHTTP40 Dim xmlDoc As New DOMDocument 'sURL = "http://webservices.gama-system.com/exchangerates.asmx?op=CurrentConvertToEUR" sURL =...
  5. T

    Import Web Query From Report Location w/out Link

    Morning guys, hope you're all well. Still trying to crack this with little success. Any suggestions?
  6. T

    Import Web Query From Report Location w/out Link

    Tell a lie... With xmlhtp .Open "post", sURL, False .setRequestHeader "Host", "marketinformation.natgrid.co.uk" .setRequestHeader "Content-Type", "text/xml; charset=utf-8" .setRequestHeader "soapAction", "http://www.NationalGrid.com/MIPI/GetPublicationDataWM"...
  7. T

    Import Web Query From Report Location w/out Link

    I've updated the top half of the sub with the National Grid details. I am not sure on the part from "With xmlhtp" Thanks for your help with this guys! Sub DoIt() Dim sURL As String Dim sEnv As String Dim xmlhtp As New MSXML2.XMLHTTP40 Dim xmlDoc As New DOMDocument 'sURL =...
  8. T

    Import Web Query From Report Location w/out Link

    Thanks Spike. I guess I am interested in the "Pull API" information? The data items listed are accessible via this method.
  9. T

    Import Web Query From Report Location w/out Link

    Hi Spike, I wouldn't know where to start. Any decent links? Cheers.
  10. T

    Import Web Query From Report Location w/out Link

    Hey Chaz. SRC? It's not looking likely. Anyone else have any thoughts?
  11. T

    Coding standards regarding executing SQL from VBA?

    What's in the tables out of curiosity? If I wanted to do this and display the results I would probably build the SQL in the VBA editor, passing variables from my form/user. I would then pass that SQL to a query via the QueryDef...
  12. T

    Import Web Query From Report Location w/out Link

    Hi guys, bit of a tricky first for me. I need to pull back the data returned from the below link to a database. Ideally I would like to have control over what is being read in so I'd like to pass the data to an array first. Once the web query has run the URL does not update etc... The trouble...
  13. T

    VBA Creating Relationships

    Hi Flank, read up on data normalisation. This will help give context to the salient advice offered above.
  14. T

    Sharing An Access Database Options

    I was going to give it a try... I can try the upsizing wizard in Access to generate the SQL Server database. Edit: I'm dling SQL Server 2012 at the minute.
  15. T

    Sharing An Access Database Options

    Hmm absolute hosting path perhaps. (D:\Hosting\9328479\html) The DSN is ns05.domaincontrol.com What type of link am I attempting? I am unsure with the database now being (I think...) located on the server via FTP.
Back
Top Bottom