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: odessa79
  • 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

    Spellman When I do this I can see that fldReceivedDate has value but when I try to move it fldDate = fldReceiveDate its says the field is EMPTY? Function ConvertToString(fldReceivedDate As Double) As String Dim fldDate As Double Dim fldMyDate As Date Dim fldMyDateStr As String fldDate...
  3. 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 =...
  4. 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?
  5. 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 =...
  6. 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...
  7. odessa79

    13- Type mismatch

    I made some changes and now i get the type 13 mismatch on this line any suggestions? On Error GoTo errorhandler gRSEmpData!EMPID = rectemp2!yaan8 hldName = rectemp2!YAALPH gRSEmpData!Name = hldName Select Case rectemp2!YAPAST - THIS LINE IT BOMBS Case "D" gRSEmpData!status...
  8. odessa79

    13- Type mismatch

    Zemp I tried adding a space did not work this is from which line it executes the Call PrintError routeen If strEmpid > &quot;17000000&quot; And strCheck = &quot;false&quot; And rectemp2!YAPAST <> &quot;0&quot; Then
  9. 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 = &quot;select * from [Employee Data Table]&quot; & _ &quot;where...
  10. odessa79

    Crystl32.OCX problem

    CCLINT thanks but I don't think that is what am looking for. One of my users are getting this error message &quot;run time error -2147024770 Automation error&quot; and I do not know what to do about it yet. If you have any suggestions I would greatly appriciate it.
  11. odessa79

    Crystl32.OCX problem

    MeonR Ddi you get this run time error -2147024770 Automation error resolved? If yes can you give a solution how to fix it? Thanks
  12. odessa79

    Run Time Error '6' Overflow

    Now am getting type mismatch error 13. What could that be? I am pulling data out of the fldRequestReceiptDate field in yyyymmdd format
  13. 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 = &quot;MM/DD/YYYY&quot; txtRequestReceiptDate.Text = Format(fldRequestReceiptDate, DATEFORMAT) Or is there a way to conver...
  14. odessa79

    I get a Error When I try to create ActiveX DLL

    How do I unregister that dll?
  15. 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...
  16. odessa79

    Hi, I got a question. I have a v

    I have 2 Projects One Active X DLL and One Standard EXE. They are both part of one big project adn they are build into Project Group. I need to create a deployment package out of this two projects. I create the package and install the setup program but when I run the exe it does not work. Do I...
  17. odessa79

    Hi, I got a question. I have a v

    Your application is incompatible with C:\DOCUME~1\segaldx\Desktop\SEMAS4~1\Source\SemObjects\Base SemObjects.dll. The project name is the same for both applications. Change the Project Name setting in the Project Options dialog box. You can see the specific incompatibilities by returning to...

Part and Inventory Search

Back
Top