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 Mike Lewis 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. Jacqui3

    Error Trapping-Key violations, Lock violations, etc

    Mike, I want the user to know there is an error. Can you help me out? My VB is extremely limited. Jacqui
  2. Jacqui3

    Error Trapping-Key violations, Lock violations, etc

    Mike, I have a button on a form that appends records to a table. What I am trying to do is replace the MS access error message when there are problems with the append. Here is my code, I tried to use the help but it does not seem to be working - Private Sub Command3_Click() Dim Response...
  3. Jacqui3

    Removing Trailing Spaces

    This is from the online help - hope it helps! LTrim, RTrim, and Trim Functions Example This example uses the LTrim function to strip leading spaces and the RTrim function to strip trailing spaces from a string variable. It uses the Trim function to strip both types of spaces. Dim MyString...
  4. Jacqui3

    Error Trapping-Key violations, Lock violations, etc

    Hi, I would like to know how I can trap the errors relating to the following types of errors: -type conversion failure, -key violations -lock violations -validation rule violations
  5. Jacqui3

    Append Query - Trap Key violation error

    Hi, Thanks for the help it worked beautifully. Another question - is is possible to remove the Yes button from the error message? I do not want the user to append the records. OR could I write my own error message? Jacqui
  6. Jacqui3

    Append Query - Trap Key violation error

    Hi, I have an append query run by a macro. To prevent all the MS Access messages appearing I have Set Warnings off BUT then the user does not realise the information was not appended to the table as duplicate records where encountered. What I would like to do is trap the Key violation error...
  7. Jacqui3

    TransferSpreadsheet error - "object is read only"

    I am using the Transferspreadsheet command to create a spreadsheet. I managed to sort of resolve the problem. I moved the database to a new directory. Everything seems to be working for the moment.
  8. Jacqui3

    TransferSpreadsheet error - "object is read only"

    Hi, When I attempt to use the Transferspreadsheet command I get the error message "object is read only". The background is I had to have the database written to a CD to move it to a client site. When I copied the database off the CD I changed the file property to remove the read...
  9. Jacqui3

    Optional Parameters in a Query using a Form

    Hi, I have a MS Access form which calls a Query - the user can select whether or not to enter a date range. The query works when a date range is input BUT if no range is selected I want the query to return all the rows, including the nulls dates. Here is my SQL - I have bolded the date range...
  10. Jacqui3

    Bold and change colour of a value if negative

    Hi, I have created a variance report (the variance is calculated in the query upon which the report is based). What I would like to do is - if the variance calculated is negative I would like to make the variance value red and bold.
  11. Jacqui3

    Unbound Form that can run one of two reports

    Hi, I tried what you gave me but I get the following error: "The expression you entered as a query parameter produced this error: 'The object doesn't contain the Automation object 'BillingIndicator.'" What does this mean??? Here is my code: Private Sub txtPreviewWAreport_Click() On...
  12. Jacqui3

    Unbound Form that can run one of two reports

    Hi, I have an unbound form which the user selects a projectcode from and this currently runs a report. I now need to change this form to run one of two different reports - (1) I now need to identify in the project table the billingindicator for the projectcode selected, and then decide (2) if...

Part and Inventory Search

Back
Top