Search results

  1. J

    Filter not working in 2007

    FYI: I had a problem with a REPORT - and as you know, there is no where clause there. I was able to resolve by setting the filter AFTER I had changed the recordsource. In previous versions of Access that was not necessary.
  2. J

    Query running... forever !?

    I have starting looking into the same problem as well. We moved from Access 2003 to 2010 - and now, a query that took 5 minutes to run prior (has many left-joins), now takes 30 minutes to run. I believe that this has to do with either the new version of Access or perhaps an OS update. I...
  3. J

    export to xml not working

    Just to report on this: my query was accessing linked Progress tables and I thought that it might be where the bottleneck lie. So, I first created a query to move the data to a table - then did the export to xml from there. It then worked.
  4. J

    Access 2007 Query returns blank results

    I suggest you start studying Access help then. In the meantime, to get you started, here are some links: http://www.brainbell.com/tutorials/ms-office/Access_2003/ http://www.meadinkent.co.uk/accqueryjoins.htm
  5. J

    code to save and close one form and open another

    I believe the only way to do that is via my original recommendation. Creating a filter on a recordset that has already been constructed just displays the record(s) you want to see.
  6. J

    code to save and close one form and open another

    If the query for the second form has thousands of records, then each of those records would have to be transferred over the network, even though you would be accessing only one of them, hence best practice to create queries that get only the records you need.
  7. J

    Question Insert Column and populate based on criteria

    I'd suggest doing this in your query using an iif stmt to create the extra field, so the data will be available for your report.
  8. J

    Access 2007 Query returns blank results

    Don't know if you a visual person or not, but at this link are diagrams showing how tables are interconnected. Basically to get data from multiple tables in one query, you have to 'join' those tables via foreign keys (FKeys). These diagrams illustrate some of those joins...
  9. J

    code to save and close one form and open another

    If you want to minimize # of recs you have available for a form (best practice to do), then another option is to pass the key that identifies the record to the new form and in the open event of that second form, re-create or modify the query that generates the data for the form and requery so...
  10. J

    Confused with ADO code

    Is your query linked to the tables you think they are supposed to be linked to? i.e.: Are you looking in the correct table to verify results? ie test vs. production?
  11. J

    Union Query

    Have you tried looking up Union queries in help? There should be plenty of examples out there...
  12. J

    export to xml not working

    Appreciate your response. I sent a recent post on this - and see it isn't appearing, so here I go again: I had tried this previously -written up a function using this method and it still doesn't work.
  13. J

    Union Query

    what union query? All you have are two tables...
  14. J

    Is it Possible to Unlock Parts of a Locked field on a form?

    In before update event, you could try applying the original value against the new value with some kind of bit-wise operation that would retain the values in the other positions (of course assuming the pattern is always the same)
  15. J

    Confused with ADO code

    try adding rst.movenext after updating
  16. J

    code to save and close one form and open another

    You could use a tab control and separate data elements on specific tabs...
  17. J

    Date/Time conversion

    Dont know if this is what he means, but this came up in search Excel stores dates and times as a number representing the number of days since 1900-Jan-0, plus a fractional portion of a 24 hour day: ddddd.tttttt . This is called a serial date, or serial date-time.
  18. J

    Using a variable in a recordset If statement

    1. Have you tried just using App1? 2. Tried " ' " & App1 & " ' " ? 3. Using Option Explicit to make sure var name is correct?
  19. J

    export to xml not working

    :confused: I am trying to create an xml file from a query. I ran the query then selected Export - xml file (using Access 2010). The query generates 637 recs having 9 columns. While it takes about a minute to process, I am only getting the following in my xml file that gets created: <?xml...
  20. J

    TransferText appears to delete the file instead of export data to it

    :cool: Well....the above is NOT accurate --- I managed to totally not see that the data was NOT getting entered for two fields into the table that was the source for the query for the datamerge file. I changed the code that was preventing this so the data would get added --- and the problem has...
Top Bottom