Search results

  1. K

    Database Design Problems

    Are there other data in the terminal or tag tables besides the names?
  2. K

    form printing all the forms!!

    Easiest way is to add a command button to your form with the Wizard active, and then choose the appropriate options. The wizard will generate code for the button's click event that will print just the current record. Otherwise, you can modify the code for the existing button so that it filters...
  3. K

    Help with IIf and is null

    Are you looking for all of the Null values associated with a given criterium, or are you trying to set values to Null?
  4. K

    Sorting data in a table

    You create a query based on your table, and add the fields you wish to work with. Then you specify a sort order for the weight field (ascending, light to heavy; descending, heavy to light). Next, you create a form based on said query. (You can also specify sorting criteria in the form, if you...
  5. K

    Hi

    And hello to you. :)
  6. K

    MS-Access Beginner

    Welcome to the forum. :)
  7. K

    Hello !

    Glad to have you here. :)
  8. K

    Hello from Cardiff, Wales.

    Welcome to the forum. Having a specific mission in mind is a great way to learn Access. :)
  9. K

    Create Primary Key from Foreign Key?

    Erm, wrong place for the introduction, but welcome. :)
  10. K

    Linking data between two tables

    Glad to hear it. :)
  11. K

    Linking data between two tables

    Since you are insisting on keeping your tables separate, you can create a third table as the parent table for the customer ID, and join it in a 1-to-1 relationship with each of your two customer tables.
  12. K

    Output a PDF with Query name to the filename

    When I work with complex lines of code and concatenations, I like to paste them in Word and highlight the pieces with different colours to help see what is there. :)
  13. K

    Dungeons and Dragons Online

    Still fun to play, but GW2 seems to be drawing away a lot of players... for now. They'll be back. They always come back. ;)
  14. K

    form NOT to update table automatically

    It sounds like a behavior issue. When you Tab or Enter from the last field in the form, the cursor is moving to the first field in the next record, forcing the Update related events. You want to change the behavior of Tab and Enter so that the current record stays current. You can set the...
  15. K

    Time Calculation of a record

    I am happy it worked for you, but it occurred to me that it will not work for the overnight shift. You will need to go the other way and append the date component to your constants. Otherwise, the shift that spans midnight could have an end time less than the start time. Option Compare...
  16. K

    Problem with saving data to related tables

    It sounds like a feature of Access designed to protect referential integrity has guided you to a better form design. Good work. :)
  17. K

    Time Calculation of a record

    Here is the code I used: Option Compare Database Option Explicit Public Function NStime(InTime As Date, OutTime As Date) As Date Dim ShiftStart As Date, ShiftEnd As Date, ret As Date Dim datIn As Date, datOut As Date 'Isolate time component of arguments datIn = TimeSerial(Hour(InTime)...
  18. K

    Time Calculation of a record

    You are including the date with the time in your arguments, but you are only setting a time in your constants. You could isolate the time component of your arguments into temporary variables, since the date part is not used for this function.
  19. K

    Criteria filter on query

    I believe you will need to create a function in VBA that counts the number of days between the given date and the current date where Weekday(idatDate) is not equal to 1 or 7. This will omit the weekend, assuming your first day of the week is Sunday. Your function should loop through each date...
  20. K

    Newbie Question / Pointers for Inventory for Inventory DB

    It sound like a standard First In, First Out (FIFO) model. Your order details will provide the value of the items you have purchased, but this is just half of the solution. You will also need details for the items that are removed from inventory (used, lost, thrown away), and have those items'...
Back
Top Bottom