Search results

  1. E

    ENGLAND

    Considering the beauty of the game and the performances throughout the EURO2024 tournament, football is at home in Spain.
  2. E

    Solved Search with String and Date in the same textbox in access form

    Try to search for 2017 ...
  3. E

    Solved Search with String and Date in the same textbox in access form

    Inserted question: Where does one get the conviction that a complete date is entered in Searchbox1? ... LIKE "*something*" Something like this makes you expect anything if it's supposed to be simple and dirty.
  4. E

    Solved Search with String and Date in the same textbox in access form

    WHERE FarmerName & DispatchDate Like "*" & Forms!View Inward Register!Searchbox & "*" This is a suggestion for simple requirements. The solution and the whole approach you want has less to do with good programming that takes performance into account.
  5. E

    Format

    The field properties in the design view of a query are only for external viewing, but play no role in a table creation query and are not taken into account. Only what is actually in the SQL statement is taken into account. You don't need formats in tables either, they only distort the actual...
  6. E

    .execute then .openrecordset

    I see two things: - Filtering on a DateTime value can quickly go wrong because of the floating point problem for the time values. if not rs.EOF then lockedID = rs.fields("ID").value else ' look for big surprise end if - An update query does not create a new ID, but rather it is...
  7. E

    DateAdd

    Remember #11: DateSerial is not a DateAdd, but it is extremely flexible to meet all your needs. You just have to know what you want.
  8. E

    Solved Auto Index

    In the current topic you should research with keywords like ... "foxpro data definition language". The basic language of a database is SQL (Data Definition Language + Data Manipulation Language). The first step in creating a database was something like "CREATE Database", long before there were...
  9. E

    How to show the value of criteria on query to report

    https://learn.microsoft.com/pl-pl/office/vba/api/access.docmd.openreport DoCmd.OpenReport ReportName, View, FilterName, WhereCondition, WindowMode, OpenArgs You can use the OpenArgs argument to pass specific information to the report. Passing is then something very different from the point...
  10. E

    Group tables

    At this point, a VBA solution like the one shown is quick and easy, and for most people it is easy to read and maintain. So this is a good option. A query solution is of course also possible. You could proceed as follows, for example: - Generate a sequentiell number to display the sequence...
  11. E

    Solved Auto Index

    @Space Cowboy Here are some thoughts in summary of your questions: (1) Your backend is Visual Foxpro, with lots of tables and lots of records. Structures and indexing are a bit unclear. I don't know if and what kind of help you can get from outside. A quick search on the Internet turned up...
  12. E

    Solved Auto Index

    That's how it will be. I was talking about the query in #16. There are only two rankings per row, and a ranking alone will certainly not be practically feasible given the number of records. For small numbers of records, I said < 10000, it is a correct query formulation.
  13. E

    copy an entire record including the index number

    If you want to copy a primary key value / value from a uniquely indexed field into the same table, it will not work.
  14. E

    Solved Auto Index

    What significantly better choice would you have for determining the ranking within an Access query? The problem here is a correlated subquery in connection with a very large amount of data (systematic problem).
  15. E

    Change foreign key

    Wrong approach. There should be a many to many relationship between location and inventory. Then a move is simply a new record in the junction table, with timestamp.
  16. E

    Solved Auto Index

    No. You can imagine an index as a very simplified index in a thick book. The faster search speeds up comparative operations. Comparative operations include filtering, linking, grouping, sorting and partial aggregation (determining min/max). A unique index is a special form of index - values can...
  17. E

    Solved Auto Index

    @Space Cowboy: My personal usual limit for determining ranks is around 10,000 records used. Anything above that leads to less than acceptable performance, because the effort increases exponentially as the number of records increases. With 1.7 million records, you're heading for disaster. The...
  18. E

    Solved Auto Index

    This is counterproductive at this point and will dramatically worsen performance. I had conducted my own experiments in this regard with measurement results like the ones in the picture to generate ranks. Unterabfrage ... subquery QueryIncrement ... own method Dauer ... duration
  19. E

    Solved Auto Index

    sSQL = "SELECT * INTO NewTable FROM OldTable" db.Execute sSQL, dbFailOnError sSQL = "ALTER TABLE NewTable ADD COLUMN Idx COUNTER" db.Execute sSQL, dbFailOnError sSQL = "CREATE INDEX idx_name ON NewTable (Idx)" db.Execute sSQL, dbFailOnError So you can create the field later and also index it...
  20. E

    strSql errors

Back
Top Bottom