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 Chriss Miller 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: DaveInIowa
  • Content: Threads
  • Order by date
  1. DaveInIowa

    Adding Control to Form Changes Visible Property

    I'm wondering if anyone can explain this behavior. The example uses 2 controls on a form, comboBox1 & textBox1. Both of their Visible properties are true in the designer. When I step through the code I can see where the Visible property of each control changes to false after they are added to...
  2. DaveInIowa

    Query Shortcut for Displaying All DateTime Conversion Styles

    There have been times when I’ve needed a specific format for a DateTime value but don’t have the different style values memorized. Instead of doing a search on the CONVERT function each time, I created this query shortcut and thought I’d share. Go to (SSMS 2014) ... Tools > Options… >...
  3. DaveInIowa

    Defining General Purpose User-Defined Table Types; Good or Bad Idea?

    Before proceeding too far with this idea, I thought it might be good to get your thoughts here at Tek-Tips. There are a number of stored procedures here at work where a list of values is passed in as a comma-separated-values varchar or an xml parameter. This has always seemed messy to me, so...
  4. DaveInIowa

    DataGridView Header Text Doesn't Change If Only the Case Changes

    I have a small problem with a program where, when I change the data source of a data grid view, if a column's header text changed only by case, the previous value is still displayed. I don't know if there's an explanation for this or if it is a bug. It is important that the heading show the...
  5. DaveInIowa

    Is There a Way to Treat Null Values to be Equal in a WHERE Clause?

    Is there a better way to code the following comparison in a WHERE clause? WHERE ((@ParameterValue IS NULL AND ColumnValue IS NULL) OR (@ParameterValue = ColumnValue)) Normally when I accept a null parameter value I use it to mean I don't want to filter on that particular value but in this...
  6. DaveInIowa

    PDF Render Looks Different Than Onscreen Version (SSRS 2008)

    I am having a problem when rendering my reports to PDF. Text that will fit on one line onscreen is wrapping to a second line in the PDF version. Also, (Bold, Italic) headings appear close to okay when exported to PDF on the server from Report Manager (they're still wrapping) but my local version...
  7. DaveInIowa

    Change Default Font for Textbox

    I'd like to change the default font from Arial to Calibri and, ideally, also default the height from 0.25in to 0.2in when creating a new text box. Does anyone know how to accomplish this?
  8. DaveInIowa

    Place Design-Time Report Name in Page Footer

    Is there a way to create a report template such that the name of the .rdl file from which the report was designed from is automatically placed in a textbox? Note that I'm not referring to [highlight #F8F8FF]=Globals!ReportName[/highlight] as that value will change if an instance of the report...
  9. DaveInIowa

    Return from Modal Form without Hiding the Form

    Is there any way to return from a modal form without using Me.Hide? I would like to show a modal form and wait for input. Afterwards, I extract values from the form via user-defined properties (one of which tells me whether the OK or Cancel button was clicked). I then use these properties as...
  10. DaveInIowa

    Problem Adding Reference to Excel Primary Interop Assembly

    When I add a reference to COM component Microsoft Excel 11.0 Object Library, the reference added is Copy Local=True to Interop.Excel.dll (Version 1.5.0.0) in my Release folder. Does anybody know how to get it to reference the copy in the Global Assembly Cache? I can change the Copy Local...
  11. DaveInIowa

    How Do I Reference a Global Parameter Hidden by Instance Variable?

    I have a global parm (DivisionId) that I would like to set in the OnRead() method of a data row. The problem is the data row also contains a column/variable named DivisionId. What syntax can I use to distinguish my global DivisionId from the data row instance's DivisionId? Sub OnRead( )...
  12. DaveInIowa

    How to Delete a Global Variable

    Bring up the Project Browser (View -> Project Browser) Filter the contents by clicking on the Filter icon. This will bring up the Browser Options window. Make sure the Members filter:Variables box is checked. Click OK. When you return to the Project Browser, expand the Symbols folder and you...
  13. DaveInIowa

    Where is 'View -> Globals Browser' in Actuate 8?

    Does anyone have a Globals Browser option in their View menu? On page 93 of the Actuate Foundation Class Reference (Volume I) it mentions this option but I don't see it. I am using e.Report Designer Professional.
  14. DaveInIowa

    Reference a Field from the Current Record in Detail_Format Subroutine

    Is there any way to reference a field value in the Detail_Format subroutine as shown below? I know I can set the ControlSource property of controls on the report and access the values this way but I'd like to avoid this "blackbox" movement of data and get some better control of processing the...
  15. DaveInIowa

    Check Keyboard Status When Script Starts

    Is there any way to check to see if a modifier key (Alt, Ctrl or Shift) is being pressed from a VBScript program? When I execute a script, I'd like to know if any of these keys are down when the program is initiated. If so, I'll force a prompt window, otherwise it will retrieve it's input from...
  16. DaveInIowa

    Word: Create Style That Retains Existing Font Attributes

    Is there any way to create a style that won't change the Bold/Regular font attributes in a paragraph? I'm working with a document that has lines similar to: Field Desc: Field Value where I would like to apply paragraph formatting but don't want to affect the Bold/Regular font styles that...
  17. DaveInIowa

    Copy Worksheet from Template & Assign to Variable

    Is there a more straightforward method than the code I have listed below to create a new worksheet from an existing template worksheet and then assign the new worksheet to a variable? Public Sub CopyWorksheetFromTemplate() Dim NewWorksheet As Worksheet Dim Template As Worksheet...
  18. DaveInIowa

    Restrict Datasheet Column Lookup Based On Previous Column Value

    Is there any way to specify a field's Lookup:Row Source that references a previously set field in the same row? As an example I've tried setting Row Source to: SELECT TeeId, Name FROM Tees WHERE (CourseId=[DefaultCourseId]); I would like the [DefaultCourseId] value to be substituted with the...
  19. DaveInIowa

    Stop Excel from Reformatting Chart Series Name Value

    When creating a new chart series, I am taking a text value from the spreadsheet which I have formatted as I would like it to appear in the chart's legend. It is a "date" of the form Aug 05. Whenever I assign this value to the Name property, it keeps getting reformatted as 5-Aug. To get around...
  20. DaveInIowa

    Show Count of Subheaders in it's Parent Header Section

    Is there any way to get a count of the number of subheaders and place this count in it's associated parent header section? If I use COUNT(*), I get a count of the detail lines. I've also tried creating a dummy txtOne field in the subheader (with Control Source =1) and attempting to display the...

Part and Inventory Search

Back
Top