Search results

  1. aikea

    Count and filter.

    select count(id), name from your_table_name group by name having count(id) > 3;
  2. aikea

    Alternate backgroundcolor width

    Same thing, Use a rectangle to contain your controls in details area. Make sure the rectangle is well sized: Or you can put two rectangles to cover edge Make sure the rectangle color is different to detail background color
  3. aikea

    Alternate backgroundcolor width

    Basicly, you can use a "Rectangle" control as background. Effect
  4. aikea

    Filter Query by multiple fields, one value

    Go to Query page -> create new query -> SQL -> type in that sql statement
  5. aikea

    Count and filter.

    select id, count(name) as name_count from your_table_name group by id having name_count > 3;
  6. aikea

    import Directory Folder list

    Here: http://msdn.microsoft.com/archive/default.asp?url=/archive/en-us/dnarofftalk/html/office09072000.asp
  7. aikea

    Alternate backgroundcolor width

    Delete: Duplicate post.
  8. aikea

    Populating Combo box problems

    You need to call combobox's requery method every time you want to refresh the containing data. For example: Sub Combo27_OnClick() ComboBoxEmployee.Requery End Sub
  9. aikea

    Alternate backgroundcolor width

    Place a Rectange control on the form. Place control within that rectangle. Set the rectangle z-index to lowest number. and set its color.
  10. aikea

    Is there a linked table manager in access 2007?

    There is a "Linked Table Manager" in "Database Tools" tab.
  11. aikea

    import Directory Folder list

    There is code example in msdn.com. If shows you how to check whether a file or folder exist, list files in a particular folder etc. Go to msdn.com then "VBA Dir()"
  12. aikea

    Has VBA be changed since 2003

    I spent last two days compare VBA built-in functions between 2003 and 2007. I didn't find any differences. Actually, the 2007 version is exactly a copy&paste of 2003. Some addin classes are changed or depreciated, but they are all platform dependant. -------------------- You can use Visual...
  13. aikea

    Importing dbf file

    That's completely defeat me. You may wish to try to port all of your file to a new machine and try it again to see what happen.
  14. aikea

    Has VBA be changed since 2003

    Well, that is something to do with forms rather than VBA itself. But, now I am quite sure the code I write in Access 2007 will run on any version since 2000 as long as no platform dependent feature included. Thanks for all
  15. aikea

    Importing dbf file

    Try this: DoCmd.TransferDatabase acImport, "dBase IV", "C:\internet\download\peardat.dbf", acTable, "peardat", "peardat", False
  16. aikea

    Has VBA be changed since 2003

    Actually, I did look pretty hard for documentation. All of my VBA code written in 2000 and 2003 seems working fine in 2007. As far as I can remember, the only major change made to VBA was in the Office 2000 release. Since then, MS didn't mention anything about the language in Office product. If...
  17. aikea

    Code for Opening Query Based on User Criteria

    I mean if the query you want to load have a naming pattern like "qry001, qry002" etc. You can use instr(qry.name, parttern) to check whether the query name match the pattern you specified and decide what to do with it in later statement
  18. aikea

    Has VBA be changed since 2003

    Its there any change made to VBA language in Office 2007 since 2003? I mean the language itself, not its enviroment or extension. I checked the msdn documentation, found nothing.
  19. aikea

    Importing dbf file

    Import source table as linked. Create an append query in target database that filters the records and add records to target table. If the source table records can be sorted. You can sort those records then use "Top #" sql statement to select a number of rows.
  20. aikea

    Year function in VBA

    Actually, I was expierenced the same problem years back. If you look carefully, the vba year function are actually "year()" without capital "Y". The function you used shows up like "Year", so I immidiately realised that you have a field, function or variable named "Year".
Back
Top Bottom