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

  1. kpal29

    use a table of reports and a filter form to run reports

    I have a table that lists reports I have a form that has comboboxes that are used as criteria for the queries underlying the reports I have added the table of reports as a sub-form to my criteria form. I have a button on the form. I would like to select a record from the subform table that...
  2. kpal29

    Use * as query criteria, not as a wildcard character

    I have a set of data where certain fields contain an *. I want to find and remove these asterisks. I have the same problem with the # sign. Since these characters already have a meaning in Access, they are not being treated as simple strings. How do I force Access to treat them as text...
  3. kpal29

    exclude records based on records from another table

    I got it to work with this code but seems a little clumsy. Pls advise if you have a better way. Option Compare Database Sub Filter_CustomerDrayage() Dim db As Database Dim rstFilterCustomerDrayage As Recordset Dim rstFilterListCustomerDrayage As Recordset Dim intI As Integer...
  4. kpal29

    exclude records based on records from another table

    How do I make it so the user does not have to change code if I am typing strings? Please explain how to set this up? Thanks
  5. kpal29

    exclude records based on records from another table

    I do not want to 'hard code' any values as users will be adding/editing and deleting 'situations' in which we need to exclude records. This is why I wanted to use VB and have it look at a table?
  6. kpal29

    exclude records based on records from another table

    I have a field in the filters table that matches the field in the data table. For example the fields are: Facility Point1 Point2 Dispatch Office I need to exclude records where facility = CHI and point1 equals 'BNSF'. So there is a record in the filters table where Facility = CHI and point1 =...
  7. kpal29

    exclude records based on records from another table

    I have a table where I import data. This table has several fields. I need to exclude certain records from my report based on a value in a field or a combination field values. Users need to add/edit these values so I have created a form for them to input records where if they need to exclude...
  8. kpal29

    Import .csv get runtime error 31519 you can't import this file

    I have an .csv file and am trying to import it into my Access DB. Nothing fancy just a simple import in VB. I can import manually using same spec into same table with no error but when I use the code I get the runtime error. Pls help this is driving me crazy. my code: Sub New_Vol_Import() Dim...
  9. kpal29

    For each where varitm is multiple fields in record on subform

    I have a table called Data. This table has fields labelled Client, ChargeCode, PeriodYear adn PeriodMonth. In another table called AdjChargeCodes the following fields exist: ClientCode, FromChargeCode, ToChargeCode, PeriodYear and PeriodMonth. I need to run a procedure that will open the Data...
  10. kpal29

    update a field in a non-updateble query?

    I have 2 tables, agg and agg2. Agg has charge lines where the income and expense are the same but under differenct codes, for example: container Charge Income Expense Difference 123 CMF 20.00 -20.00 0 124 ADD 15.00 0 15.00 124 ADM 0 -15.00 -15.00...
  11. kpal29

    return value where join table does include another value

    Thanks for quick reply. I chose to try: select dbo.tcontainer.snumber from dbo.tcontainer where dbo.tcontainer.liD not in ( select dbo.tcontainer.liD from dbo.d_cargo_line inner join dbo.invoice_line on dbo.d_cargo_line.cargo_line_ID = dbo.d_invoice_line.cargo_line_ID where...
  12. kpal29

    return value where join table does include another value

    I have 3 tables. A container table. Each container has one or more cargolines stored in a cargoline table. Each cargoline has one or more invoice lines with one or more charge codes stored in an invoiceline table. container table containerID, Arrival Date, Vessel, measurement 111...
  13. kpal29

    MS Word - beforeSave event

    Thanks! This works great! 3 stars for you.
  14. kpal29

    MS Word - beforeSave event

    What event would evoke this code? The checking needs to be done at the time the user is trying to save a copy of the template.
  15. kpal29

    MS Word - beforeSave event

    I have a document template that uses form fields. Some of the fields are required so I need to use the 'BeforeSave' event to open a msgbox advising user to fill in the fields, then do not save the document and exit sub. I have the following code: Private Sub appWord_DocumentBeforeSave(ByVal...
  16. kpal29

    Type conversion failaure on import to text type field

    I have a table w/ field 'Invoice_Number'. The type is 'text'. I am importing a text file in which this field contains both letters and numbers as values and some are just numbers. Why am I getting a type conversion failure, shouldn't access simply treat the numbers as text?
  17. kpal29

    Use VB to control Import Specification

    Where can I learn about this table and it's fields and values? I have searched 'MSysIMEXSpecs' in google and not much results.
  18. kpal29

    Update query not updatable

    I have a query 'Subimport_Value' which is a query based on the tmpimport table wich is group on for all fields except 'value' which is summed. I have another query 'update_subimport_value which is based on the 'subimport_value' query and is an update query which updates the 'value' field of the...

Part and Inventory Search

Back
Top