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 strongm 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: marcusmco
  • Content: Threads
  • Order by date
  1. marcusmco

    Can't drop reportviewer onto a form in VS2010

    Hi, I have used the Reportviewer in VS2008 a fair bit but after upgrading to VS2010 I can't just drop the Reportviewer onto the form as before. Instead it appears as a control outside form similar to a Timer. I am aiming to let the user view a report from within a winforms application. Any...
  2. marcusmco

    Number of leap days in date range

    Hello, I am having difficulties sorting out the best way to find the number of leap days in a date range. For example, if the date range is 01 Jan 2008 - 15 April 2008 it would be 1. If it is 01 Jan 2003 - 15 April 2008, it would be 2. Any ideas? I am using T-SQL. Thanks, Marcus
  3. marcusmco

    Fixed number of records

    Hello, I am trying to write a query (SQL Server 2005) that always returns five records even if there is only e.g. 2 matching records in the database. Then the other 3 should be null or blank. Any ideas? Regards, Marcus
  4. marcusmco

    Fixed Size List

    Hello, In the body of my report (RS 2005) I have a list that can contain any number of records from 0 to 10. I would like this list to be fixed in terms of its size (regardless of number of records) so the information further down on the report does not move up and down depending on how many...
  5. marcusmco

    Display manually entered rows on report

    Hello, My users can via a datagrid enter any no of text rows (done in a VB.Net application). I then want these rows to appear on a report as a nice list (table). How do I best pass these rows to my report and display the rows on the report? It seems like I need a dataset to base the table...
  6. marcusmco

    asp.net field length

    Hello, I have a dataset that was loaded from the database and I am interested in finding the varchar length of a certain field. Is that possible using the dataset? I have tried to use the GetType function but I cannot find the length of the varchar field... Regards, Marcus
  7. marcusmco

    Data Grid - Select Column

    Hello, I have a datagrid in a vb.net application and I have sort of forgotten all about how it works. :) The users would like to be able to select a column and copy all the text in it and put it in Word or something. Is that possible. I don't seem to be able to mark a column like it is possible...
  8. marcusmco

    Request.Form on Label

    Hello, Of some reason I cannot get the value from a Label when I try Request.Form("xx"). Is that not possible? Regards, Marcus
  9. marcusmco

    Dataset all gone

    I have used datasets in vb.net applications and now I am trying to do the same in asp.net. :) On a web page I create a dataset and populate a few text boxes. When the user clicks a button and the page is posted back the dataset does not exist anymore (yes, I am new to asp.net). Is it correct...
  10. marcusmco

    Access Programmatically Created Textbox

    Hello, I have with vb.net created a couple of text boxes programmatically. Now I cannot figure out how to access the text boxes' text properties further down in the code. Normally one just write e.g. txtFirstName.Text but that obviously does not work because the code does not recognise...
  11. marcusmco

    Print PS Programmatically

    Hello, I would like to print a postscript file programmatically but I have not been able to figure out how to do that. Any ideas? Regards, Marcus
  12. marcusmco

    Printing directly to printer

    Hello, I have been trying to figure out how to print a report to a printer by just clicking one button and not first showing the report in the report viewer. Any thouhgts about this? Regards, Marcus
  13. marcusmco

    Accessing dataset from vb.net

    Hello, Does anyone know if it is possible to access a server report's dataset and change properties such as the data source from a vb.net windows application? Regards, Marcus
  14. marcusmco

    ReportServerCredentials.SetFormsCredentials

    Hello folks, My SQL Server is using SQL Server Authentication mode and I have a problem when my Reporting Services report is displayed within a vb.net application. I cannot make it logon automatically. Either the user name and password boxes are shown or I get a logon error when I am trying to...
  15. marcusmco

    Access uncommited row in datagrid

    Hello, I wonder how to access the values of a row in a datagrid that has not yet been committed to the dataset set it is bound to (the user hasn't moved the cursor away from the row yet)? All I get when I am trying to access e.g. a specifik cell is the value from before the user started...
  16. marcusmco

    Select tray

    Hello, Once upon a time I created an Access Report that prints the first page from a specific tray, number 1. I used the specific code the printer used for that particular tray to select it. All the remaining pages were printed from tray 2. I am now converting this report to Reporting Services...
  17. marcusmco

    Dataset Question

    Hello, I have a form designed in VS 2005 using vb.net. The controls on this form are bound to a dataset. When a user keys in something that is not valid according to the data type, e.g. "Dog" where it is supposed to be a number, the keyed in data is simply ignored. This is good since there is...
  18. marcusmco

    Weird Picture

    Hello, The picture produced by my computer has most often weird colours and vertical lines. I have tried to use another display and I have also tried different cables. In addition to this I have also tried to connect the display to both the mother board socket and the separate graphic card...
  19. marcusmco

    Wildcard

    Hello, I am trying the following in an expression for a textbox: =IIf(Fields!FFOSV1.Value Like 'F20%' ,"bla bla","") The value of FFOSV1 is F20 but it doesn't work. I get a syntax error. Does anyone know what I am doing wrong? Cheers, Marcus

Part and Inventory Search

Back
Top