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 Wanet Telecoms Ltd 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: odessa79
  • Content: Threads
  • Order by date
  1. odessa79

    How can I check if An Error is returned

    I have this code which works am tring to put in some error hadling how ca I do that? I want to check for an error before Execute statement. Private Sub cmdAddTaskToProject_Click() Set cmd = New ADODB.Command With cmd .ActiveConnection = cn400 .CommandText = "INSERT INTO...
  2. odessa79

    Am new to vb and functions . How

    Am new to vb and functions . How would I create a function for date conversion? here is my code for date conversion. How can I pass a date field into a function and receive a value back into my txtfield? Dim fldDate As Double Dim fldMyDate As Date Dim fldMyDateStr As String fldDate =...
  3. odessa79

    Converting a Numeric field into a Date field

    Hi, I have a field coming back from the database which is Numeric 8 position (19930203) I want to convert it into 02/03/1993 how would I do that?
  4. odessa79

    How do u do a join File in Sql inside the VB

    Am tring to join to files in vb here is my code what am I doing wrong? Set cmd = New ADODB.Command AdoLoadTasks.ConnectionString = cn400 AdoLoadTasks.RecordSource = "SELECT * FROM ENPRAWD02.PRJTSKPF a " _ & "JOIN ENPRAWD02.TSKPF b On a.tsknbr =...
  5. odessa79

    I get an error Runtime Error "3265" Item cann't be found

    Anybody has a suggestion? Set cmd = New ADODB.Command With cmd .ActiveConnection = cn400 .CommandText = "SELECT max(PRJNBR) FROM ENPRAWD02.PRJPF" .CommandType = adCmdText Set objRecordset = New ADODB.Recordset objRecordset.CursorLocation = adUseServer...
  6. odessa79

    13- Type mismatch

    I get this error message and I can't figure out why here is the code where I get it. '-------------------------- Private Sub Find_Employee() '-------------------------- On Error GoTo errorhandler Dim SQL As String SQL = "select * from [Employee Data Table]" & _ "where...
  7. odessa79

    Run Time Error '6' Overflow

    Hi, I got a problem am tring to convert this date field and am getting this error message. Please help Dim fldRequestReceiptDate As ADODB.Field Const DATEFORMAT = "MM/DD/YYYY" txtRequestReceiptDate.Text = Format(fldRequestReceiptDate, DATEFORMAT) Or is there a way to conver...
  8. odessa79

    I get a Error When I try to create ActiveX DLL

    Original definition: Sub Load(Optional ComponentID As Long, Optional ProductID As Long, Optional ConfigurationID As Long, Optional ComponentStatusCode As String, Optional ProductClassID As Long, Optional ProductCategoryID As Long, Optional ProductTypeID As Long) Current definition: Sub...
  9. odessa79

    Hi, I got a question. I have a v

    Hi, I got a question. I have a vb5.0 project I have made some mosd to one of the Modules in this project. Now I need to move it to clients pc. We havea deployment package for this project. Is there a way to add the new module to this package so that the user will see the new change instead of...
  10. odessa79

    Passing Parm from VB to Crystal Report 7.0

    Hi, I got this problem I can't figure out how to pass a parm from VB to Crystal Report 7.0. Am adding a crystal report to my VB project using Data Environment .DSR file. I have one parameter I can't pass that parm into my crystal report. Any Ideas ??????????????? Please Help...

Part and Inventory Search

Back
Top