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 Wanet Telecoms Ltd 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: *

  • Users: theSizz
  • Content: Threads
  • Order by date
  1. theSizz

    Compile Error Method not found

    I've converted an .mdb to an .accdb and when I try to run the code listed below, I get a "Compile error method or data member not found" with this line of the code. Do rs.Edit So I went to references and tried to load the DAO 3.6 object library. I got a "Name conflicts with existing...
  2. theSizz

    Bound Object Frame won't print all pages

    I have a bound object frame that is a control in a report. I have an entry form that contains the bound object frame control. The contents of the frame is 4 pages of text and images that have been copied from a Word document and pasted into the bound object frame on the form. When I print the...
  3. theSizz

    Export a Form to Excel

    I have the following code: Private Sub Command71_Click() On Error GoTo Err_Command71_Click Dim stDocName As String stDocName = "frmPriceUSF" DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel9, _ stDocName, "C:\Documents and...
  4. theSizz

    Runtime error defining parameters

    The following line of code: qdf.Parameters(0) = sYr is producing a runtime error 3265 “Item not found in this collection” I know I can use a form for the qdf.Parameters(0) line like this: qdf.Parameters(0) = [Forms]![frm52Weeks]![cboYr] But I don’t want to use a form in this particular...
  5. theSizz

    Option Button Value

    I have a form that contains an option group with 3 option buttons (radio type). For this example let’s call them op1,op2, and op3. I am trying to write an if statement in the after update event of a control on the form that will put up a message box that advises the user that they need to select...
  6. theSizz

    Problem with DLookup Syntax

    I put this expression in the QBE grid’s criteria row of a select query. What I’m trying to accomplish is have a query use for its criteria today’s date in other words I want the date the criteria uses to be dynamic. This is the expression that produces the error...
  7. theSizz

    Change Names In Combo Box

    I have a combo box named cboReports. This is the SQL in the row source property that is used to populate the combo box with the report names. SELECT MSysObjects.Name FROM MSysObjects WHERE (((MSysObjects.Name) Not Like "*Sub*") AND ((MSysObjects.Type)=-32764)) ORDER BY MSysObjects.Name; Using...
  8. theSizz

    Auto Format in Access 2007

    I am trying to format the form header section of a form in access 2007. I select the form header section in design view, choose the auto format button from the arrange menu on the ribbon, and then click on the desired format. Seems pretty simple. However, I don't get the format that's shown in...
  9. theSizz

    Multiple Criteria Using DLookup Function

    I’m trying to do a lookup in a report that that uses a totals query as its record source. The report should show sales for week 12 of this year versus sales for week 12 of last year. The table that the query uses has a field named Yr whose data type is number and a field named Week whose data...
  10. theSizz

    Align items in a Value List

    I have a form that has a combo box control that uses a value list for its row source type. My problem is the appearance of the list. The drop down list contains 2 and 3 digit numbers. I can't find a way to make the numbers in the list align to the right as you would expect to see normal number...
  11. theSizz

    Populate a table using a conditional loop

    I’m trying to populate a table using VBA. The table has a field Called DayNum whose data property is number. There is another field in the DB called WkEnds whose data property is date/time. The DayNum field has a corresponding digit for each day of the year i.e. 1,2,3, up to 366 (this is leap...
  12. theSizz

    Can't stop user from editing form

    I’m having a problem getting the AllowEdits property to work. Here is the issue. I have a form - frmOrders . The forms Form_Current event has the following line of code: AllowEdits = False This works fine and when the user tries to edit a field on the form he is unable to. However, if the...
  13. theSizz

    Saving Data in Unbound Forms

    I have a form that has unbound text box controls. The user enters numeric data in each of these text box controls. I want to be able to store the values that the user enters for future use. I am using the following code which was provided on Richard Killey’s web site. The problem is that the...
  14. theSizz

    Force user to enter data in a text box

    I have the following 3 access objects frmSignOff , rptSignOff, and qrySignOff. The form frmSignOff has 2 unbound text boxes and 1 unbound combo box that the user enters search criteria in to populate the query qrySignOff. I want to force the user to enter a control number in the text box...
  15. theSizz

    Name definitions lost after export to Excel 2007

    I'm using Access2007 and Excel2007. After I export data from an Access query into an existing Excel spreadsheet, the name definitions that were previously defined in the spreadsheet are no longer valid. Even though they appear in the Name Manager with the proper reference location the cells in...
  16. theSizz

    Replace parameter values in control source property

    I have a text box in a report, with it's control source property set to =[BegDt]. Upon loading the report a message box pops up and asks the user for the value of [begDt]. This occurs 3 more times for 3 other parameters. Now I want to change the design of the report so I decided to put these 4...
  17. theSizz

    Build SQL String for field that contains an apostrophe

    Can someone please help me ? I want to build a query using VBA. I am using a form that has unbound text boxes to enter the criteria for the select query. The user fills in the text boxes as required and then executes the code. The problem is one of the fields (Type) contains text data that...
  18. theSizz

    Bound object frame doesn't print correct size.

    I have a bound object frame control on a report. The control’s size mode property is set to stretch. When the report prints, only the first record is printed out to the stretch size as set in the control’s property, the remaining records are printed in a scrunched smaller size. I’ve resized the...
  19. theSizz

    Syntax for string that contains an apostrophe

    Can some one help with the proper syntax for having a form filter a string that contains an apostrophe. Such as a field with the name O'Toole in it. Here's what I wrote but it produces an error. Private Sub Form_Load() DoCmd.ApplyFilter , "provider = 'O'Toole' or provider2 = 'O'Toole'" End...
  20. theSizz

    Using Right Function

    I'm trying to get the right function to return the last 2 characters from a field that contains numbers For example the field RunDis contains numbers like: 11.41 12.55 10.06 15.30 etc In a text box control I have this formula: =Right([RunDis],2) The text box returns the last two numbers...

Part and Inventory Search

Back
Top