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

  • Users: jossimon
  • Content: Threads
  • Order by date
  1. jossimon

    Reserved Error

    I am getting an error that simply says, "Reserved Error." what does this mean???!!!
  2. jossimon

    Resetting a field through VBA if criteria not met

    I have the following code: Private Sub cmb_status_AfterUpdate() DoCmd.SetWarnings False Dim CancelUpdate As String If Me.cmb_status = 5 Then If IsNull(Me.CompleteDate) Then MsgBox "Cannot update Status to Complete until Complete Date and Time to Complete are populated." CancelUpdate...
  3. jossimon

    Copy Query into SQL string in VBA not working

    I want to copy a SQL string from a query I created into a Variable string in Access, but when I try to run the SQL string I get an error. My query has a lot of inner joins and is complex, and I am guessing that the syntax for VBA SQL is not the same as the SQL Statement in the Query window...
  4. jossimon

    Find a record

    I created a subform in my main form. The subform lists out the details of a ticket. the main form asks for the ticket number. I want the subform to show the details of the provided ticket number when the user pushes "Find Ticket". Sounds simple enough, but everything I have tried has failed...
  5. jossimon

    Error accessing File Error

    Getting the following error on my database and not allowed to enter VBA Code for a form. PLEASE HELP!!! "Error accessing file. Network connection may have been lost.
  6. jossimon

    Getting EOF Record information

    I am using a form to add a record to a table. I want to then retrieve the Primary Key, "Ticket Number," after the table has been updated. I am not up to par on Recordsets, but I am pretty sure I just need to get EOF of a recordset and select that field in a SQL String. How do I get the EOF...
  7. jossimon

    Excel 2000: File size is too large

    The file size for my Excel spreadsheet doesn't make sense for the amount of data that I have in it. I was wondering if there is a function to compact an Excel Spreadsheet. Please advise!
  8. jossimon

    Openning a Recordset

    I can't seem to get the parameters of openning a recordset correct. Can someone please send me some information regarding openning a recordset?
  9. jossimon

    Check if Exists

    On click of button, I want the VBA to check if an id exists. I know it sounds simple, but I tried the following and its not working.... If IsNull("Select * From TItemXRef where TItemXRef.ItemNumber = Forms!FU_TItemXRef2.SITMTxt") Then MsgBox "The PeopleSoft Item Number (BK Number) you...
  10. jossimon

    The DoCmd that doesn't end

    I have the following code: DoCmd.RunSQL "Delete * FROM TTempOrderImp WHERE (((TTempOrderImp.RprtQty)=0 Or (TTempOrderImp.RprtQty)<0));" This code runs fine, but when I want to run a different procedure with the table TTempOrderImp I get a bug that states, "The database engine could not lock...
  11. jossimon

    Checkboxes - How do they work?

    I have a form (FrmLabels) and a subform (sFrmLabels). I want to put a checkbox on the subform and then print labels for the lines where the checkboxes are checked. How do checkboxes work? How do I know on the backend if they are checked or not. I have inserted the checkboxes but when I view...
  12. jossimon

    Object Required (2)

    I have the following code and it looks right to me but it keeps bugging out and saying, "Object Required" If IsNull(TUnMatchDC.ShipTo) = False Then DoCmd.OpenForm "F_UpdateDCX_Ref2", acViewNormal, acEdit End If Its a simple enough If statement, but this is the second "Object...
  13. jossimon

    Object Required

    I have the following code and I am getting an error that says "Object Required." The debugger is highlighting the line "If NZ(TorderImpFilter.Shippable, 0) > 0 Then" What am I doing wrong? Private Sub Crt_ExportFile_Click() Dim i As Integer Dim StrSQL As String If...
  14. jossimon

    Pop up windows

    I am executing queries in VB which deletes data... each time I am deleting something I get a pop up asking if I am sure that I want to delete X number of records... How do I get these pop ups to stop and just have the queries do what they are suppose to?
  15. jossimon

    Need to create records based on values(2)

    I am new to VBA. I have a table that holds the following information (Item#, Qty). On the click of a button, if Qty > 1, then I need to create a record in a separate table for each Qty. If Qty = 1, then only one record should be created. Example: Item# 1,2,3,4,5 Qty 2,1,3,2,1 Perspectively...

Part and Inventory Search

Back
Top