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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by RDS2

  1. RDS2

    Combo Box on a form

    Thanks Laurie - works like a charm!
  2. RDS2

    Combo Box on a form

    I have two combo boxes on a form. The underlying query which supports the list detail in the second combo box is based on a selection in the first combo box. Everything works as it should for the first selection (first combo box) when I open the form. When I change the selection in the first...
  3. RDS2

    Count number of Excel rows to be imported

    Is there a way to count the number of rows that will be imported to an Access table using the Transfer Spreadsheet method? I want to count the rows (in a selection) and display this in a message box so that I can cancel out of the routine if the row count is wrong.
  4. RDS2

    Event processing in Reports

    Is there a way to evaluate each chnage in a report page (a row change in a query) and calulate a number based on a vaue contained in that row? For example Row 1 has a tax calc method of 1 and needs a calulation routine, Row 2 has a method of 2 and needs a separate routine, etc. I believe that...
  5. RDS2

    Automatic decimal placement in a form control

    I don't believe that you can do this during data entry; and that is what I'm trying to acheive. For example you can do this in Excel by selecting it in options. The short of it is that I'm trying to save as many keystrokes as possible inasmuch as this is a very data intensive application.
  6. RDS2

    Number formatting

    Why doesn,t this work????? If I exclude the "IF" portion the formatting works ok. I want "negative numbers" to be enclosed by (). This works (no error) but I still get a intintial "-" in front of the number. =IIf(Round([tot_ugl],0)=0,"-",(Round(FormatNumber([tot_ugl],-1,-1,-1,-1),0)))
  7. RDS2

    Automatic decimal placement in a form control

    Is there a way to enter a number in a bound form control and have the decimal point automatically inserted (2 decimal places)? For example enter 12345 and have the number stored as 123.45
  8. RDS2

    Set Conditional Page Break

    Yes - if there are only say, 20 lines remaining (because some controls can grow) when the page break is encountered then I want to force the page break (i. e. the page break control remains visible.) If there are more lines remaining on the page when the page break marker is encountered I would...
  9. RDS2

    Set Conditional Page Break

    I have a page break hard coded in a report (always visible.) The break is in the detail section of the report. Is there a way to set the page break to "not visible" if only "X" lines remain on the page?
  10. RDS2

    Set Control Property to a Query Result

    I have a text box on a form and I want to set its control source to a field value in a query. In this case the query is a TOPN(N=1 in this instance) and I want the value to dispaly in the text box. Can I enter the SQL code in the control source property box or can I use VBA code to accomplishe...
  11. RDS2

    Referencing a subreport in VBA

    Thanks posters - dhookom; your code attached to the command button that loads the report gets the job done. I understand the ampersand issue - many times my fingers are a "ketstroke" ahead of my brain! Merci.
  12. RDS2

    Referencing a subreport in VBA

    I want to change the RecordSource property of a sub-report when the main report opens. In my case the sub-report name is "Rpt_r&a_tdoc". The code in the main report event "On Open" is: "Me.Rpt_r&a_tdoc.RecordSource = Qry_docrev_tdoc" This bombs the report out - but - I'm not sure where the...
  13. RDS2

    Conditional Page Breaks

    Can anyone provide some advice on how to insert a "conditional page break" in an Access report? I want to start a new page if there are only "X" lines remaining on the page.
  14. RDS2

    Check for null value in a form field

    I have a form with a bound OLE object field on it. The object is created (an Excel worksheet) with a double click event attached to a command button on the form. What I need is a method to cancel (or at least get a confirmation that this is what the user wants) the re-creation of the worksheet...
  15. RDS2

    Open an OLE object with menu commands in VBA

    I don't think there is a hyperlink with repspect to the control. I don't believe that there is evan an external address for the Worksheet. Isn't stored with the DB and only accessible through that?

Part and Inventory Search

Back
Top