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 TouchToneTommy 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. michelleHEC

    updating access database

    my update command is not working. can anyone see what the problem is? I am not getting an error... Dim cnTag1 As New OleDb.OleDbConnection cnTag1.ConnectionString = "Provider=Microsoft.Jet.OLEDB.4.0;Password=;User ID=Admin;data source=c:\BlownAway.db.mdb" Dim...
  2. michelleHEC

    filling a string with a null value

    I need to insert into sql either a string or a null value based on an if statement before the insert statement. here is my code. If AcctNo(intC) = "18410" Then TrExpCode = "VMISC" Else TrExpCode = DBNull.value (here is the problem) End If...
  3. michelleHEC

    parameter for crystal report with subreport

    I have a crystal report in my vb.net program that has a subreport. the subreport doesn't need the parameter only the main report. it askes me twice for the same parameter when it is run. Is it because of the subreport and if so what can i do to stop that. thanks Michelle
  4. michelleHEC

    title bar formating

    Does anyone know how to change the title bar color from windows blue to another color? Michelle
  5. michelleHEC

    creating a pagebreak on an excel sheet

    I have created an excel sheet using vb.net and I am able to set the row size and column size etc but I need to be able to set a page break when a variable changes. Any ideas?? here is a snipit of the code I am using... Dim xlApp As Excel.Application Dim xlBook As Excel.Workbook...
  6. michelleHEC

    incrementing pk dts problem

    I am creating a DTS that takes data from one table(tblA) and inserts it into another(tblB) but tblB has an incrementing PK and I am getting an error "cannot insert a null value" or something of that sort. Any ideas? Thanks Michelle
  7. michelleHEC

    first choice in combo box when using a dataset

    I have a combo box that gets filled from a dataset with account numbers. The problem I am having is that the first account in the dataset is being used by accident by the user. (they are forgetting to choose the account) I would like to have the first thing on the list be "Choose your account"...
  8. michelleHEC

    scheduled DTS with oracle error

    here is the error Error string: Oracle client and networking components were not found. These components are supplied by Oracle Corporation and are part of the Oracle Version 7.3.3 or later client software installation. Provider is unable to function until these components are installed...
  9. michelleHEC

    enter key as a tab

    my code to have an enter key work as a tab key worked at first but now it will not work. has anyone any ideas? here is the code. Protected Overrides Sub OnKeyDown(ByVal e As System.Windows.Forms.KeyEventArgs) Dim ctl As Control = Me.ActiveControl If TypeOf ctl Is TextBox And...
  10. michelleHEC

    looking for a faster way to gather records

    Right now I am using a datareader and a do while loop to gather records and then using a dataset I am inserting the data into another table. I have 60000 records to go through and it is taking hours. Is there a faster way? Thank you in advance, Michelle
  11. michelleHEC

    odbcdataadapter error

    I am connecting to progress and I will have a dataadapter run fine, and then the next time I run it I will get an error "column not specified" This is driving me nuts! Has anyone else had this problem?? Michelle
  12. michelleHEC

    dataadapter running slow on fill

    I really need help. I cannot figure out why my code is hanging on the fill. It never used to. Here is my code. any help will be extremely appreciated. Me.daNet.Fill(Me.DsNet) 'here is where it is hanging t = Me.DsNet.Tables("Nettrack") Dim myrow As DataRow...
  13. michelleHEC

    inserting using dataset extremely slow

    I am using the dataadapter and dataset to insert rows into my sql table but it is extremely slow on the da.fill and the da.update what am i doing wrong. here is the code Me.daNet.Fill(Me.DsNet) Dim t As DataTable t = Me.DsNet.Tables("Nettrack")...
  14. michelleHEC

    duplicating inserts

    why would an insert duplicate itself on occasion?
  15. michelleHEC

    insert duplication

    I have a timesheet program that sends daily entries into a table for payroll. when a day, has been sent, the form exits and sends the user back to the entry page. I have validation that goes in to see if the day being entered, has already been sent and if it has, sends a message and exits the...
  16. michelleHEC

    closing open connections in the catch

    How can I close the open connection when the try/catch catches an error? I have tried cnName.close() but it doesn't recognize the cnName because it is out of the area it was created in. Once the error is caught and the program is tried again, I get the connections already open message... thank...
  17. michelleHEC

    datagrid multiple row selection

    I would like to highlight a group of rows and change all the values of one column to a value. another words, when the user sees the datagrid, they may only want to select say 4 rows. while these 4 rows are selected, they will change all of the data in column "Status" to "S" without goint to...
  18. michelleHEC

    crystal report select expert

    MONTH({EMPDETL.BDAY}) ={?Month} OR MONTH({EMPDETL.ANNIVERSARY}) ={?Month} OR MONTH({EMPDETL.HDATE}) ={?Month} and {EMPDETL.STATUS} = "A" what could be wrong with this? I still see status items that are not "A" thank you.
  19. michelleHEC

    creating projects for different screen resolutions

    I design my projects while using 1280 x 1024 but my users have their settings at 800 x 600. This causes a problem with the usability of the program. They are having to scroll everywhere. Is there a way to avoid this? Michelle
  20. michelleHEC

    fatal error 605

    I have a program that has been working fine but just started to give me an error at the point of showing a form... here is the code. If answer = pass Then Dim frmPC As New frmPayRollCorrect() frmPC.MdiParent = Me.MdiParent Me.Hide()...

Part and Inventory Search

Back
Top