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 Mike Lewis 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: *

  1. marcusmco

    Can't drop reportviewer onto a form in VS2010

    I solved my problem. I removed the reference to the previous version of the reportviewer and added the latest one. Then it worked.
  2. 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...
  3. marcusmco

    Number of leap days in date range

    Thanks to both of you. I managed to create this that appears to work: /* Top 4 rows will need to be input params in function */ DECLARE @StartDate AS datetime /* Start date in range to check */ DECLARE @EndDate AS datetime /* End date in range to check */ SET @StartDate = '2004-02-29' SET...
  4. 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
  5. 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
  6. 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...
  7. 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...
  8. marcusmco

    asp.net field length

    Sorry I was not being clear about what I wanted. I was looking for the maximum length of the field. It is a varchar field and I would like to be able to find what is within the brackets when defining the field. E.g. if it in the database says varchar(50) I would like to be able to get 50 back.
  9. 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
  10. 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...
  11. 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
  12. marcusmco

    Dataset all gone

    Thanks. I was afraid that was the case. :)
  13. 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...
  14. marcusmco

    Access Programmatically Created Textbox

    Aha, I will look into that one (FindControl). Sorry for not using the proper terminology. I am used to the wonderful world of windows client applications... :)
  15. 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...
  16. marcusmco

    Print PS Programmatically

    That looks promising. I will check it out! :)
  17. 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
  18. marcusmco

    Printing directly to printer

    Thanks a billion times. The first example was what I was looking for but that page had escaped my googling. :)
  19. 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
  20. 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

Part and Inventory Search

Back
Top