Search results

  1. Dennisk

    Access Forms - not picking up date in txt box for query

    input formats are irrevant as all date/times are stored as a number. You can use the BETWEEN keyword in your criteria, but you are only using one text box for simplicity BETWEEN txtStartDate AND txtStartdate, so only recordswith that one date will be retrieved.
  2. Dennisk

    Dropdown List Limitation

    there is a limit of 255 columns per table not rows
  3. Dennisk

    Removing duplicate data

    if there are not too many, then delete by hand.
  4. Dennisk

    Simpleton alert!

    I ALWAYS budget 3 months for an Access database.
  5. Dennisk

    VBA code to populate an access database

    VBA is part of Access, so to run VBA you require Access. If your db is huge, have you split it into FE/BE, keep your data only in the BE (Backend) and your Queries in the FE (Front End).
  6. Dennisk

    Making th code more compacter

    I don't think you can. On error goto is only applicable within the module where it is specified. I copy and paste my error trapping into every sub before I add any other code.
  7. Dennisk

    Error Handling on Date Range

    create a before update event for each text box. Then in each event call a function to validate your time and return true or false. if the time is False (in error) then set cancel = true the function should check if both fields are not null, if so the perform your compare FunctionName = True...
  8. Dennisk

    Email to Access 2007 Help Please

    your reps will not be able to email a form as such, but they could email the db containing the form and I presume data. When you receive this data do you mannually type it in or have you automated this, You could either link to the table in the emailed db or open it then update the main dataset...
  9. Dennisk

    Question PLZ HELP / Access 2000 installed under Vista Home / sp1

    commom functions are held in a library usually called Visual Basic For applications, and is usually the first reference in the list. So, Open a code module and click references, if VBA for Apps is not in the checked list, scroll down until you find it then check it.
  10. Dennisk

    VBA code to populate an access database

    Create a new query then select totals from the view menu, this gives you an extra row to select various types of agregates, counts, sums, groupby etc
  11. Dennisk

    DISTINCT and COUNT together?

    split it into two queries, one for the count, then use that as the recordsource in another query to use the DISTINCT Clause
  12. Dennisk

    Centering everything for different screens

    It's one of the properties of a form. Set the Centre property to true
  13. Dennisk

    VBA code to populate an access database

    with DAO you need to update the table TempTable.Update. what are you using the with for. this is how it is used With TempTable .(Product_Code").value=Prod End With
  14. Dennisk

    Question Reading a value from database into an integer

    Try SELECT LAST(InvoiceID) FROM Invoice
  15. Dennisk

    If statement error

    you seem to have far to many quotes and to test for null in use the following recommended technique IF Not IsNull(rstP("V") ) then is not null is only used in queries. If you want to substitute the contents of a combo box (or text control) then use a single quote txtV.Value = DLookup("V"...
  16. Dennisk

    Problem with understanding sql syntax

    Have you tried setting the extra fields to total type 'expression'. If that does not work, then the technique I use is to link the result set back into original table to pick up the additional data. However this may not always be posible.
  17. Dennisk

    Creating a new Dynamic Table dependant on 2 tables

    use a DISTINCT union query, This will give you a list of all the unique rows SELECT * FROM [Employee List] UNION SELECT * FROM [March Connected]
  18. Dennisk

    Help with SQL in VBA statement

    take you warnings off and single step through each line to find the line in error. Any routine that that executes SQL statements should use .Execute method, this allows you to use a DBFailOnError Constant which would be used with an error traping routine in the sub.
  19. Dennisk

    Date Field to be Displayed in French

    why not create a table of Months in French and give each row the default Month Number (1 - 12). Then create a function that return the French version of the month based on the month number (obtailed from the Month() function.)
  20. Dennisk

    newb - use R1C1 reference to select cell

    try the spreadsheet forum and not the Access database forum
Back
Top Bottom