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. JamieF

    I need to update one field based on another.

    Getting closer-thank you!. I have been able to get the State field update to work from both the AfterUpdate on the VDate(Verified Date) field and the Before Update for the Form, but only if I only put one selection criteria - example: If (Not [VDate])Then [State] = 2 MsgBox...
  2. JamieF

    I need to update one field based on another.

    I tried Omega36's suggestion with the IF/Then statement on the Form_BeforeUpdate(). I've got the code entered and no errors are reported, but the [state] field doesn't get updated. I'm not sure how to tell if the code is wrong, or not running at all. I haven't implemented any ELIF statements...
  3. JamieF

    I need to update one field based on another.

    I need to update one field based on the entry in one or more other fields. The scenario is that we have an incident "state" field, which will be a value between 1 and 4. The value for "state" corresponds to a series of date fields on the form. Right now, "state&quot...
  4. JamieF

    Appending records into database with autonumber field.

    Our database has an autonumber field as a key field. I need to append records into the database and then adjust the autonumber so that the next added record assumes the correct id number. I've tried following the instructions in the help files, which are basically to create a new table with...
  5. JamieF

    Problems with User entered date ranges

    I have created a report that prompts the user to enter a starting and ending date so the query can select records in that range. The header of the report includes the date range in the title. If there no records in the range, the report is blank (correct) but the header prints out for the...
  6. JamieF

    Organizing a report using date fields

    Thank you for your response on this thread fields ". I wasn't able to get much accomplished using this approach. I could certainly make the headers, but not get the criteria selected properly. I have had much better success by using subreports. I have one remaining problem. If you have...
  7. JamieF

    User input and subreports

    I am trying to create a report with several sections. Each section selects the same fields from the main table, but using slightly different criteria based on one or more date fields. After much trial and error, I stumbled on using subreports. After even more trial and error, I now have a...
  8. JamieF

    Organizing a report using date fields

    I am trying to create a report based on some date fields in our database. We have "Fixed", "Verified", "Delivered", and "Closed" (all date fields). Selection for the report needs to be based on if ANY of those fields have a date in them (but at least one...
  9. JamieF

    Putting a calculated value into a form field.

    Thanks for the suggestions. I guess I've left out a few details and/or I'm confused. I have three fields on my form. Each is numeric. The valid choices for each are selected via a combo box pull-down list. When any entry or change is made in any of these three fields, I would like a fourth...
  10. JamieF

    Putting a calculated value into a form field.

    I'm real beginner on creating Access forms. I've fumbled my way through most of it, but am stuck on how to get a calculated value to display onto the screen and also update into a field in the database. Example: Priority, Rank, and Status are all numeric fields entered by user...

Part and Inventory Search

Back
Top