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 SkipVought 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. cmcgann

    Criteria parameter says IGNORE=2004-01-17

    Hello All, I am running a report that takes in 2 date parameters. Start date and End date. However when I run the report for today no data is returned (even though the data exists). When I run the sql directly there is no problem.. I noticed that there was a statement in the criteria parameter...
  2. cmcgann

    Rollback during Timeout question

    Does anyone know how this can be set at the server side? Instead of explicitly setting it in each procedure, have it set as default? Thanks
  3. cmcgann

    Rollback during Timeout question

    I tried this and it works. Thanks all for your help..
  4. cmcgann

    Rollback during Timeout question

    Hi vongrunt, I hadn't. Tried it or heard of it. I had a quick look in help and this seems to be what i am looking for. I'll let you know how i get on. Thanks again.
  5. cmcgann

    Rollback during Timeout question

    Hi there, Thanks for the swift response. First off i have tried using rollback in error handling but the problem here is that it never gets executed by sql server. The rollback code goes something like this -- IF @@Error <> 0 -- BEGIN -- ROLLBACK TRANSACTION -- END This is a Server side...
  6. cmcgann

    Rollback during Timeout question

    Hi, I am experiencing a problem where an SQL transaction does not committ when the updates in the procedure times out. BEGIN TRANSACTION UPDATE WHATEVER SELECT WHATEVER UPDATE WHATEVER COMMIT TRANSACTION The knock on effect of this is that locks are held open for table WHATEVER...
  7. cmcgann

    SQL DTS Question

    Hi, Ive done this before with some problems, I didnt use the SQL generated VB code. I called the DTS package on the server directly from VB. I addeed a reference to the DTS object Library dtspkg.dll. I then executed it by calling the function below. I added a List View on the Form to display...
  8. cmcgann

    Alternative row color for ListView

    Sorry, Should have taken more care reading the Post. Im not 100% sure what you mean though, Do you mean just changing the Forecolor? Or having dfifferent colours for different columns? The Latter i dont think you can do..
  9. cmcgann

    Alternative row color for ListView

    Here you go!! Should work, just pass a different color to change 'Function Call adjustListviewColour lvExceptions, lSelectedItem, vbBlue Public Function adjustListviewColour(objListview As ListView, lIndex As Long, lColour As Long) Dim i As Integer Dim lLvColumnCount As Long...
  10. cmcgann

    Automating the export of Crystal Report to an Excel Spreadsheet

    Does Anyone know how to automate the export of a Crystal report to an excel file. E.g when the file is run it automatically exports the data to a file Thanks in advance
  11. cmcgann

    Column Count in Word!!! Please Help!!!

    Problem: I am trying to count up the values in a column in a table. in Word and automatically display the result in another field Desired Process: Enter the hours worked in each row of the hours column. when the hours are entered the total should be displayed a another field underneath. I...
  12. cmcgann

    Passing a Parameter to CR using VBasic

    Ken, I did tried it without passing the parameter and it works fine. I reckon its the way i am passing it is incorrect, Thanks
  13. cmcgann

    Passing a Parameter to CR using VBasic

    Hi, I am stuck. I have created a stored procedure on SQL Server which accepts one parameter. I have then setup a Crystal report which reports from this Stored Procedure. In Visual basic, i want to Call this Crystal report and pass it the parameter it needs to return data. The following...
  14. cmcgann

    Error Registering File MSADO21.TLB

    Thanks a Million
  15. cmcgann

    Error Registering File MSADO21.TLB

    All, When i run the setup of my project that was made using the Package and Deployment Wizard i get the Following error. An error occurred while registering the file &quot;MSADO21.TLB&quot; The program then does not work correctly. I use the Data Designer on a SQL database (ADO) Basically...
  16. cmcgann

    How do i remove the quotes after using write#

    I tried using the print but this formats the data incorrectly. Also the Replace function does not work because after i replace i have to write it back out again.....and this adds quotes. Thanks again for your replys Conor
  17. cmcgann

    How do i remove the quotes after using write#

    Hello All, I am having trouble writing to a text file, i have managed to replace all the quotes and commas with &quot;&quot;. But i cannot get rid of the Leading and ending quotes. E.g &quot;Line55234123412&quot; )- this is what i get Line55234123412 :- this is what i want thanks in advance...
  18. cmcgann

    Removing spaces in text file using FSO

    Hi all,<br><br>I am trying to remove spaces in a text file, using FSO<br><br>Does anyone know how i can do this.<br><br>The following is the logic that i need to use<br><br><br><br>Sub StripSpaces()<br><br>Dim fs As FileSystemObject<br>Dim ans As String<br><br><br>Set fs =...
  19. cmcgann

    FTP Problem using Internet control

    Below is the code i use. I need to log on to an FTP site(No problem) change directory ( Returns an error - Still executing last request)<br>And download all text files then archive them to a directory.<br><br>It seems as though the program crashes when i try to change directory.<br><br>Am i...
  20. cmcgann

    importing file to access

    Hi All,<br><br>I need to import a text file into an access database.<br>My problem is i need to parse the file into different fields.<br>can anyone help<br><br>Thanks <br>

Part and Inventory Search

Back
Top