Recent content by rachelkm2

  1. R

    Exports/Outputs Suddenly Very Slow

    Thanks. I made all of the changes you suggested. I'm still having problems, but I've narrowed it down to the following two sections (specific lines in red): With wks.Range("A1").Resize(1, iNumCols) .Font.Bold = True .EntireColumn.AutoFit End With And With wks .Cells.EntireColumn.AutoFit...
  2. R

    Exports/Outputs Suddenly Very Slow

    I don't have any more records than previously. It's just as slow if my list has 12 records or 12,000 (and anywhere from 2 to 20 fields).
  3. R

    Exports/Outputs Suddenly Very Slow

    Hi, I have an Access 2010 database which has very suddenly become very slow when either exporting to excel or outputting reports. The two common places where this happens are below (this code hasn't been changed any time recently). Any thoughts would be much appreciated! Example 1 - Printing...
  4. R

    Memo Field Not Growing on First Page of Report

    So, sometimes it helps just to write out the problem. While I still have no idea why the above problem was happening, and wouldn't mind knowing the answer in case it comes up again, I rethought the setup and have avoided the problem entirely by creating a subreport for the body of the letter...
  5. R

    Memo Field Not Growing on First Page of Report

    I have a report which is basically a form letter. The text of the letter is in a memo field, which is set to "can grow". This works fine - on all pages except the first page. On the first page of the report the text displayed in the memo field is limited by the actual height of the text box...
  6. R

    Combo Box Problems with Hyphens and Spaces

    In case anyone else comes across the same problem, here's the solution I just discovered (I have a vague understanding of why this works, but it does). My original syntax was: qdfLastName.SQL = "usp_Lkp_LastName " & Me!cbo_LastName.Text Which worked fine until the last name had a space or a...
  7. R

    Combo Box Problems with Hyphens and Spaces

    When I don't use ".Text" in my IF statement, the combo box doesn't fill at all (no matter how many characters the user types in). The data format (which originates in a SQL Server table) is Varchar(50).
  8. R

    Combo Box Problems with Hyphens and Spaces

    Thanks for the quick response. I had initially read that ".Text" was a potential issue, but when I try my If statement using either Len(Me!cbo_Lastname) > 2 or Len(Me!cbo_Lastname.Value) > 2 my IF statement stops working!
  9. R

    Combo Box Problems with Hyphens and Spaces

    Hi All, I have an unbound combo box on a form called cbo_LastName. Because the row source for this combo box contains almost 100,000 distinct values, I have set it up to only load the row source after the first three characters has been entered. So when the user starts typing, the combo box...
  10. R

    Access Front End SQL Server Back End

    Thank you - I'll give this a try! What I seem to have figured out re: binding a form to a stored procedure is that I can set the recordsource of the form to a pass-through query which executes the stored procedure. Does anyone know if there is a reason not to use this method?
  11. R

    Access Front End SQL Server Back End

    I am using SQL Server as a back end to Access for the first time, and I am having difficulty understanding how the two work together. Using Access VBA, I am able to open a connection to SQL Server, and I am able to execute a basic stored procedure (which accepts no parameters, just creates a...
  12. R

    Filter One Combobox based on selection in another combobox

    Figured it out! Just in case someone else stumbles across this and needs the answer... I was just missing:
  13. R

    Filter One Combobox based on selection in another combobox

    Thanks for the tip! I feel like I'm heading in the right direction, but there's something wrong - maybe you can help identify where I've gone wrong? Private Sub cbo_Start_AfterUpdate() Dim cnn1 As ADODB.Connection Set cnn1 = CurrentProject.Connection 'set the active connection Dim rstStart...
  14. R

    Filter One Combobox based on selection in another combobox

    I have two comboboxes on a form (cbo_Start and cbo_End). The record source of both is currently set to the same query: qry_StartEnd. qry_StartEnd contains the following fields: StartEnd_Name (Text, example - "08/2010") StartEnd_Start (Date, example - "08/01/2010") StartEnd_End (Date, example...
  15. R

    Define Excel Range from VBA in Access

    Hi All, I have a procedure which allows the user to export a filtered recordset from an Access subform to Excel (using the CopyFromRecordset method). I am in the process of making sure the resulting excel worksheet is formatted appropriately. I would like to add borders to the exported...
Back
Top Bottom