Search results

  1. M

    Ensure all fields are filled

    Is there something inherently wrong with check boxes and option buttons?
  2. M

    Ensure all fields are filled

    The location of the message box and the Exit Sub were in middle of the loop so it didn't continue after the first one.
  3. M

    Ensure all fields are filled

    The only thing is the borders of acCheckBox and acOptionButton (when added to the case statment) aren't affected. Any ideas?
  4. M

    Ensure all fields are filled

    I sorted it out. Here is the working code. ' Ensure all fields are filled For Each ctl In Me.Controls Select Case ctl.ControlType Case acTextBox, acComboBox, acListBox, acCheckBox If Len(Nz(ctl.Value, vbNullString)) = 0 Then...
  5. M

    Free Loan Foundation database

    Yes it is. Thanks again.
  6. M

    Free Loan Foundation database

    Are you waiting for a response?
  7. M

    Ensure all fields are filled

    One more problem... I want to change the border of the empty controls. I tried this but no changes are made to the controls. ' Ensure all fields are filled For Each ctl In Me.Controls Select Case ctl.ControlType Case acTextBox, acComboBox, acListBox, acCheckBox...
  8. M

    Macro For Password Protect Switchboard

    See post #6 and #10.
  9. M

    Ensure all fields are filled

    Thank You.
  10. M

    Ensure all fields are filled

    Will the above work with all types of controls? will Len() and Nz() actually work for option groups, check boxes and radio buttons?
  11. M

    Ensure all fields are filled

    Thanks for the pointers. How can I make the error message user friendly, I know I can capture the error but how do I determine what control is null? Is that to suggest that this If ctl.Value = "" Then should be this If ctl.Value = Null Then Or is that method one that will not work? btw, why...
  12. M

    Ensure all fields are filled

    Hello all, I'm using DAO to insert data (entered in unbound controls on a unbound form) into a table. Before running the code to insert the the data I must check that all fields on the form are not empty. I don't want to Set the Required property of the fields to Yes since the error message...
  13. M

    Add sequential to table on click

    The same thing happened when I had bound the form to the table (and added a textbox (YourChqNum) to hold the cheque numbers.
  14. M

    Add sequential to table on click

    I added your code to a command button and it throws a runtime error 2105; You can't go to the specified record. Attached you'll find my sample.
  15. M

    Help with relationships

    Thank you. So far so good.
  16. M

    Help with relationships

    I have 3 tables: City: ID (PK) City Neighborhood: ID (Number, indexed) Neighborhood Street: ID Street I want to create relationships so the city table will expand to show all neighborhoods in the selected city, and the neighborhood table (which shows when a record in the City table is...
  17. M

    Add sequential to table on click

    I understood the concept. The problem is I want to add, lets say, some 30 cheques per click.
  18. M

    Add sequential to table on click

    John Big Booty, Thanks for your response. Using your suggested method only adds one record per on current firing. Ideally the number of records and the seed number will be entered in unbound text boxes on a form, and on a click of a button the records will be added to the table and displayed...
  19. M

    Add sequential to table on click

    Our organization has a db used among other things to track all checks (cheques) given to employees and suppliers. All check information (bank info, and check numbers) is entered by hand in a form in datasheet view, that seems ridicules because the checks are numbered sequentially. It would make...
  20. M

    Combo on Form?

    You have to set the ColumnCount property to 2.
Back
Top Bottom