Search results

  1. D

    Data Entry Form for specific assets

    Hi, Thanks for the reply, I have actually done it another way now, I gave up on this method. It did not look clean or easy. I opted for a menu with buttons for each machine, that works very well Thanks again.
  2. D

    Data Entry Form for specific assets

    Data Entry Form for Multiple Records Hi, Long time since posting on here :-) My Problem: I have a bank of 8 machines, I need the user to enter one record for each machine in order. I currently have these machines in a combo box, but any other method would be fine. When the user opens the...
  3. D

    week number from date

    I thank you all Pat, Whilst the code I used following help given to me earlier works fine, after reading your answer, I revisited the DatePart function, and yes, you are correct, all I needed was the code below. I must get a decent reference book, or read the online help more :D Private Sub...
  4. D

    week number from date

    Thanks GumbyD, I opted for your code, modified as below it works perfectly when I changed the -1 to +1 -1 was making it go to the previous week. i.e Friday 22/08/2003 is last day of week 34 your code as is made Saturday 23/08/2003 week 33 when it should be first day of week 35. Thanks to both...
  5. D

    week number from date

    I live in UK, and where I work, the week starts on a Saturday, I have a form based on a table with several fields, four of which are "Date" "Week" "Month" and "Year" When the user enters the date, the other three fields are filled automatically from the date using the following code, my problem...
  6. D

    Check If Record Exists before adding new Record

    Hi, Both your examples let me exit the field with a duplicate value, only when I try move to the subform does access generate a duplicate record warning (field is indexed no duplicates) Dave
  7. D

    Check If Record Exists before adding new Record

    I have searched for and found several examples, but none that help me. My Base table (tbl_base) has a Date/Time field (dd/mm/yyyy) named "Date" My data entry form is based on tbl_base with various subforms linked. When a user enters a new record, I need it to check if one exists for that date...
  8. D

    Text to Number Question

    Hi Bob, thanks, I will give it a whirl. Though AncientOnes method works ok in my case. I am always willing to learn new methods, and grateful for any pointers. I am getting to grips with it slowly. Dave
  9. D

    Text to Number Question

    Ancientone, thanks, that does the trick. Dave
  10. D

    Text to Number Question

    Hi, and thanks, This code gives me a compile error "variable not defined" and the line StrMyMonth = highlighted Help !
  11. D

    Text to Number Question

    I have been working on a database that has thousands of records. One field contains the Month as a text value, i.e "January" rather than the Month Number. My question is. On a Form, I need a hidden textbox that will take the value from this Month Text Field, and return the correct Month Number...
  12. D

    I need a field in a subform to auto fill with value from same field in previous rec.

    Thanks, I managed it using method below. I managed to get it by adding combo boxes on the main form, and referencing them in the default value properties of the field in the subform, and just as long as the combo boxes are changed before moving to next record, it works just fine. Dave
  13. D

    Form and Subform help needed

    Thanks Jack, I managed to get it by adding combo boxes on the main form, and referencing them in the default value properties of the field in the subform, and just as long as the combo boxes are changed before moving to next record, it works just fine. Dave.
  14. D

    I need a field in a subform to auto fill with value from same field in previous rec.

    Hi Folks, Is it Possible to get a field in a subform to fill with the value of the same field in previous record......easy with Alpha Five !! and then to recognise when the value has changed. I have to do this without using linked fields to the mainform, as the data can change from record to...
  15. D

    Form and Subform help needed

    Thanks Jack, the following code does exactly what I need, after tormenting my fried brain for an hour, I came up with the goods. If [frm_repel_produced_sub].[Form]![Text14] <> [frm_reduce_stocks_sub].[Form]![Text20] Then MsgBox "The Totals Do Not Match" DoCmd.CancelEvent Else DoCmd.Close ...
  16. D

    Form and Subform help needed

    Hi Jack, I do not have a problem with referencing subforms, I have done that bit and it works ok, The problem I am having is with displaying the message "The Totals Do Not Match" The rest of the code works just fine. If the totals do not match, the form will not close, if they do, it does. I...
  17. D

    Form and Subform help needed

    I have a form with a subform, the subform contains several fields that are summed in a textbox [Text14]. The form has a second subform that the user types amounts to reduce stocks by, these fields are summed in a textbox [Text20] If the totals in the two boxes are not the same, I need a message...
  18. D

    Problems Summing an Expression..

    One untidy way, keep your textbox in the detail, set running total property to over all, set visible to no, then put a text box in footer =[HoursWorked]
  19. D

    Text Box on report, needs to show value on subreport, even if subreport not there !

    Thanks Rich, I had got it sussed shortly after posting. Thanks. Don't suppose you could help with this one. I have a form that has a subform used for data entry, is there anyway that I can make a field on the subform default to the value of the same field in the previous record on the same...
  20. D

    Text Box on report, needs to show value on subreport, even if subreport not there !

    Hi, Thanks for your help, where would I put this ? I have tried allways with it. maybe I am just a bit thick :-)
Back
Top Bottom