Search results for query: *

  1. dpatfield66

    Question Dynamic .rdlc field formatting

    How can I get my program to dynamically hide a label and cooresponding field at runtime. I basically need to edit the XML to change properties of the fields in question, but dynamically. My report is a .rdlc file and I use reportviewer. I can already set the data source, and the report's...
  2. dpatfield66

    Dropping Constraints conditionally

    I have 2 scripts that produced a default constraint with different names for the same field. Ex: Script 1 added [DF_OBAdmit_Field1] Script 2 added [Field1] Now I want an upgrade script that drops this constraint, but I want the command to be conditional: IF (CONSTRAINT NAME =...
  3. dpatfield66

    Question Tab Pages and child controls

    If I have a control on a particular tab page, how can I get the index of the tab page. Example: I have a tab control with 3 tab pages tabpage1 (Index = 0) tabpage2 (Index = 1) tabpage3 (Index = 2) Not to be confused with the actual Tab Index of each page (which could be 22, 16, 4, or any...
  4. dpatfield66

    ReportViewer Print Layout button

    Can anyone tell me how to programmatically set the viewing mode in a reportviewer to print layout (as if the user had clicket the print layout button on the toolbar)? I want it to go to print layout automatically.
  5. dpatfield66

    Same Controls for one Event Handler

    Does anyone know how I can make sure all controls of the same type (for example (all combo boxes OR all text boxes with the tag, "Same") are handled at a particular event. For example: if I want ALL combo boxes to do something when the user clicks on them, rather than name every single combo...
  6. dpatfield66

    DatePickers with NULL Dates and/or Times

    Ok, I've asked this before, but let me try again... Can ANYONE tell me how to create a datepicker control that allows for NULL dates and/or times? PLEASE don't give me gobbledegook stuff that blows my mind. I'm a good programmer but excess code-related garbage just doesn't compute with me...
  7. dpatfield66

    Programmatically Printing rdlc files

    I have the following code below and printing is working fine: However, the program keeps dropping an EMF file (.emf) in my C drive, for every page of the report! I see in the code <OutputFormat>EMF</OutputFormat>, but if I remove this, the program does not work. If I remove the entire section...
  8. dpatfield66

    Complex Queries

    In Access (and SQL), I was able to create a UNION Query from two similar tables (one involving Triage Admissions and another involving Admit Admissions) Basically, I'd create the first query (the UNION) and get a total count of Encounters from both tables. But some of the encounters were...
  9. dpatfield66

    Data Sets w/out SQL

    This should be a no-brainer, because my brain's gone... I want to create a dataset that's not based on any SQL tables. How do I do that. Ex: Just want to create a table that will have fields that a report (.rdlc) will be populated from.
  10. dpatfield66

    Combo Boxes in VB.NET (Visual Studio)

    I have all my combo boxes set to drop down on GotFocus. This is good when the user tabs from control to control. But for some reason, when I select a combobox pulldown arrow (unless I'm already in it), the dropdown occurs and then disappears, and then I have to select the combo box AGAIN to...
  11. dpatfield66

    rdlc reporting functionality

    There has got to be a simple answer to this. My boss wants me to use the reporting functionality within Studio. The .rdlc files. He doesn't want me to use SQL reporting services, nor does he want Crystal. So, I can create an .rdlc file but I can't get it to take a datasource OTHER than the...
  12. dpatfield66

    Read-Only ComboBoxes

    Ok, help me out gang: I saw some C++ code on making combo box controls read-only, as opposed to disabled (where the font is grey, or shaded out). I want the same thing for VB.Net, but couldn't figure out on my own how to translate their code. I'm attaching the C++ code below. Maybe someone...
  13. dpatfield66

    Combo Box Dropped Down (On Enter or GotFocus)

    I have an event handler that's working right now, but I'd like to make it cleaner, if at all possible. Currently it reads like this: Private Sub ComboBox_GotFocus(ByVal sender as object,ByVal e as System.EventArgs) Handles cboBox1.GotFocus, cboBox2.GotFocus (etc...) sender.DroppedDown =...
  14. dpatfield66

    Reporting help with rdlc files

    :mad: Isn't there anyone out there who can help me with .rdlc files? Here's an example of my dilemma: I have 2 tables in my Forms database in SQL (OBAdmit and OBTriage) The data source wizard creates a <FormsDataSet.xsd> and I used to create queries in design view using the tableadapter (fill...
  15. dpatfield66

    rdlc files

    Rather than use Crystal Reports (which I like better), my boss has asked me to use the .rdlc files in VS Studio. I've created a frmReport.vb with a ReportViewer1 embedded. I initially pulled down one of my .rdlc reports as the data source for the ReportViewer1. It created 3 objects on the bottom...
  16. dpatfield66

    Screensaver Interaction

    Can anyone tell me how .NET would interact with a screensaver that kicks in, or how it would know that a screensaver was kicking in?
  17. dpatfield66

    ComboBox values

    Ok, here's a good one. I've got a combobox and it's <DropDownStyle> is set to "DropDown" I've also bound this combobox to a dataview in my OBLookup Table. Now, it works fine, except when there's an exising value in my SQL table that's not in the lookup list of values that this box is bound...
  18. dpatfield66

    Converting string to control

    Ok, here's my issue: I have a control (frmAdmit.pagAPrenatal) It's a tabpage on a form. I have a list box that lists all the pages on whatever form is selected. For instance, if the user selects Admit from a combobox, then the listview populates with the names of all my pages on the Admit...
  19. dpatfield66

    CBO box bound to lookup table, but not all values

    Ok, I have a lookup table called OBLookup. This table has a category field, a value field, and some other fields. I want to bind some comboboxes I have to this table. But for one combobos, I only want the values from one categor displayed. And so on... For example: I have a category of...
  20. dpatfield66

    Reporting basics?

    I see that Crystal Reports and some other report object is available in VS 2005. Can someone lead me to the basics? I can't even get the report objects to be previewed or show up when I press a button on a form. As always, Microsoft's exciting help screens lead me into a world of chaotic...
Back
Top