Search results

  1. R

    Setfocus Syntax

    SetFocus Syntax Answering the second response: I am using Access 2003 Answering the first response: It does'nt make sense that I want to setfocus to the "amount" field when the user enters incorrect data and I want to return them to the field to enter correct data? That makes perfect sense...
  2. R

    Setfocus Syntax

    Im attempting to validate an amount field to control the currency that is entered. The data type is currency and the code appears to work fine, however I would like to setfocus to the amount field if the currency entered is 0 or above 200,000. Everything I have tried gives me back the error...
  3. R

    Spell Check VIA Code

    What area is "Globals for the Form"? Hello, Im not familiar with globals for the form, where exactly is that in code/form? Thanx for your response... JK
  4. R

    Dlookup Problem

    Dlookup Problem? **Resolved** Here is the code I substituted to correct the problem of logging in with any username in the table and entering any password from the table that did not belong to the username. P.S. - Bob Larson was instrumental in helping me solve this issue in the beginning. -...
  5. R

    Dlookup Problem

    Dlookup Hi Bob, After using the code you supplied me with, everything works except when I select any user from the combo box and put in any password(s) from the same table, it still authenticates the username. How can that be modified? Here is my code again: Thank You Bob for any...
  6. R

    Dlookup Problem

    DLookup Thank You, Thank You Bob! It works beautifully, I can't thank you enough. John
  7. R

    Dlookup Problem

    DLookup Here is the Zip file again Bob..
  8. R

    Dlookup Problem

    DLookup Im still getting the original error Bob after making changes. Im not as experienced as I'd like to be, maybe this can help: The form name is Login The Table name is tblUsers The two fields on the login form are username and password The command button on the form is called SignIn...
  9. R

    Dlookup Problem

    Dlookup problem You are right Bob, I did type in the Private Sub SignIn_Click() statement, that certainly makes sense, it has to be generated thru an event, Im new to VBA Bob, so still a bit iqnorant with methods/procedures etc. However , I am using the click event from the command button. I...
  10. R

    Dlookup Problem

    Can someone please help me with this syntax issue? I am using the following code to check usernames and passwords on a form, and am getting the following error: Application-Defined or Object-Defined error My Table Name is tblUsers and the field names are UserName and Password The form name...
  11. R

    Declaring and Using Variables with combo boxes

    Hard Coding Im not really familiar with that term, and not as fluent with VBA as you might be. The data I mentioned before is created from cbo boxes that draw the data from a table (I stated query earlier). Perhaps you can give me an example Bob of what you mean? John :o
  12. R

    Declaring and Using Variables with combo boxes

    Hello, I have two combo boxes which I am trying to declare variables for. These combo boxes have assigned data in them which I pull from a query. The first cbo lists events and the 2nd lists dates of the events. What I would like to do is select the event from the first cbo and have the 2nd...
  13. R

    time entry field validation

    Task Completed Cancel this request for help, I figured it out.... Researcher:D
  14. R

    time entry field validation

    Im using a form to enter date and time data into four separate fields. I have sequential validation working ok, but now I need to modify the validation to not accept any time entries that are beyond 2 hours apart in the last three fields. Fields: Ticket (Time Printed) *Time In (Time TIC) *Time...
  15. R

    Subform refreshing Problem

    Subform refreshing Yes, my subform is based on a query where I select the totals button and group by "last" on the date field. The only way I can see the new data entered in the subform is to select design view and then view again on the subform. I tried using a requery option in a macro and...
  16. R

    Subform refreshing Problem

    Subform refreshing to view previous entry Actually, I only want the subform to display the last record I enter on the main entry form each time I enter a new record, but only displaying one record at a time. Is refreshing necessary for me to see each new entered record? I have seen many of...
  17. R

    Subform refreshing Problem

    Records Sequenced? Hello Rural guy, yes I have used a date field to group/sort by
  18. R

    Subform refreshing Problem

    I have a form used to enter dates and time tables for events. Within this form i would like to add a subform and display the last record entered whenever I choose to add a new record. What is the best way using code to put this together? I have seen a few examples here, but Im not quite getting...
  19. R

    Mark Warner for President

    What does this have to do with VBA ? Should not be in here! What is this doing in here?
  20. R

    Validation and Entering Times after Midnight thru a form

    Hello, I am new to VBA and would like to ask for some help on coding in my database. I am attempting to enter four time entries; Time Printed, Time TIC, Time Processed, and Time PUFC into a table. What I am having a problem with is when the user enters data into these fields, I need for...
Back
Top Bottom