Search results

  1. SteveA

    Check For Value in a Table

    Is ContactID a numeric or alphanumeric field? Also you might want to remove the square brackets from around your Form and field names ie Forms!Formname.Fieldname. HTH SteveA
  2. SteveA

    Color Change.

    First of all, add a field to your company table that indicates a high priority customer (if you don't already have one) ie chkPriorityCustomer. Create a form and place the fields you want to view. For each form, highlight it and choose Conditional Formatting from the Format menu. Here you can...
  3. SteveA

    making VBA wait

    PearlGI, I haven't been able to locate the OnTime event for Application. Can you please provide more information SteveA
  4. SteveA

    If I don't get help with checkboxes & tabs I may turn into a werewolf!

    It sounds like the Checkbox is unbounded (doesn't have a recordsource. If a field is unbounded the value will carry through to every page but is not actually being saved anywhere. If you want to save the value for each record you need to link it to a field in your underlying table. HTH SteveA
  5. SteveA

    Forms and Many-to-Many relationships...

    1. Create a main form with the recordsource being your employer table. 2. Write a query that links the Employer_Applicant_Application_Relate and Applicant table together. Make sure that the EmplAppID is included in the query. 3. Create your subform using the query from step two as your...
  6. SteveA

    Calling Field Values

    Maybe you can try the IIf function. This lets you nominate the value you want if the field you are calling is null. Have a look at IIf in Access Help. It covers the IIf function prettly well. Cheers Steve
  7. SteveA

    Using a public variable as criteria in a query

    Hi, Pat answered this question for you a couple of weeks ago. Please refer to the following link: http://www.access-programmers.co.uk/ubb/Forum3/HTML/002363.html
  8. SteveA

    Security Summary Query requested

    Check out article Q179703 in the Microsoft Knowledge Base. It discusses custom security reporting for Access 97. HTH SteveA
  9. SteveA

    Form Record Update-HEELP.

    Al, By placing the code in the BeforeUpdate event of the Form, it is only triggered when the user attempts to move away from the current record (whether it be closing the form or moving to another record). It will not trigger as the user is updating the individual fields unless these fields are...
  10. SteveA

    Getting rid of unwanted message boxes

    When the user says they don't want to save the updates enter code like Me.Undo. This will reverse all the changes made and Access won't attempt to save the record when the form closes. This should also resolve the other errors. If not, let me know SteveA
  11. SteveA

    Greetings to all...Need help with calculation!

    The following formula calculates the number of minutes based on the fields you have available: =IIf(IsNull([FromDate]),0,IIf(IsNull([EndDate]),0,(DateDiff("n",Format([FromDate] & " " & [FromTime],"dd/mm/yyyy hh:nn:ss"),Format([EndDate] & " " & [EndTime],"dd/mm/yyyy hh:nn:ss")))/60)) It also...
  12. SteveA

    Form Record Update-HEELP.

    Place the code in the BeforeUpdate event of your Form. The AfterUpdate event has already saved the data to the database, so it doesn't remember the old values. BeforeUpdate hasn't committed the changes yet, so the old values are still available. HTH SteveA
  13. SteveA

    Frame causing trouble

    How do you know which records should have these fields protected and which shouldn't? Cheers, SteveA
  14. SteveA

    code to print 2 copies of 1 form

    I haven't used this but there is a PrtDevMode feature that Access supports that will allow you to set these type of parameters. You might want to check it out in Access Help and search the forum. I have seen this feature mentioned a couple of times. Cheers, SteveA
  15. SteveA

    cancle button macro

    The Save option that you are setting for the Close action is checking to see if the layout of the form has been changed, not if the record has been changed. A quick solution is to add an extra line to your cancel macro before the Close action as follows: Action: RunCommand Command: Undo This...
  16. SteveA

    Frame causing trouble

    I noticed that you are checking the tag fields for certain values and then protecting the fields. Am I correct in assuming that the Tag fields are being reset each time you change from record to record. If yes, the following code should do the trick: For Each ctl In...
  17. SteveA

    Reading a hidden selected row in a combo

    Answered in General
  18. SteveA

    A Hotkey for Moving from a Datasheet to a Single Record form

    If you want the previous code to work off the PF09, key set the KeyPreview flag to Yes on your form and place the following code in the On Key Up event: Private Sub Form_KeyUp(KeyCode as Integer, Shift as Integer) If KeyCode = 120 and Shift = 0 Then strDocName = "fAddlInfo" strLinkCriteria =...
  19. SteveA

    Date Problem

    No problems SteveA
  20. SteveA

    Date Problem

    Take away the quotes from your check. ie: If Me![DueDate] < Date() Then HTH SteveA
Back
Top Bottom