Search results

  1. R

    Advise on queries

    thank you , to take that further if you have a table with say 20 fields in it and a form with 20 fields in it and then you want to create another form using data from that table say 7 fields is it best to call up that table again as i have to get the 7 fields or would you create a form...
  2. R

    Advise on queries

    i would like to know which way i should take this as i have seen both ways in a form should i just uses the " star " in the query or select the fields i want if a am using the query to create a form thanks steve
  3. R

    lock field until to field have data in them then when ticked lock the field again

    hi bob seems we posted at the same time , yes the whole record can be locked of as after the stock has been changed i dont want anyone changing it steve
  4. R

    lock field until to field have data in them then when ticked lock the field again

    Private Sub Form_Current() Me.stock_changed.Enabled = False 'Me.Passed.Enabled = False Select Case Me.Passed Case "yes", "short", "part rejected" Me.stock_changed.Enabled = True End Select Me.AllowEdits = (Nz(Me.[stock_changed], False) = False) End Sub i have managed to get this working...
  5. R

    lock field until to field have data in them then when ticked lock the field again

    rivate Sub Form_Current() Me.AllowEdits = (Nz(Me.[stock_changed], False) = False) End Sub this is the code that will lock the field when i tick the box , but it could be ticked early so i would like to keep it locked until the "date inspected" field has a date in it and the passed field...
  6. R

    Reminder message

    i have just done that which works automatically. but i am concerned now about what you said that if they delete a line after selecting the word "ordered" it would not alter the on order qty , nor allocation qty back down also as the system is new to everyone i was trying to make is that...
  7. R

    Reminder message

    i have noticed that when they select the word "ordered" from the drop down box then are not pressing the button called " update" this changes the on order qty and the allocation requirements that goes into the stock table , is it possible to get a message that reminds them to press the update...
  8. R

    Solved fixed date

    Thank you for your help it is now working ok
  9. R

    Solved fixed date

    when the user ticks that box they cannot undo it it is password protected as this stops parts being re ordered this date tells me when parts where ordered
  10. R

    Solved fixed date

    hi when i tick parts ordered box the date comes into the box . i thought that date would not change but have noticed it did . the control source mentions ,now() should it be date() for it not to change ? thanks steve
  11. R

    Email attachments with reports

    hi I dont need to have it as an attachment I put it there as I thought that was the only way you could attach it to the e.mail thats was sending the order acknowlegement Steve
  12. R

    Email attachments with reports

    Private Sub cmdEmail_Click() Dim strTo As String Dim strSubject As String Dim strMessageText As String Me.Dirty = False strTo = [Order Details subform].[Form]![EMailaddress] strSubject = " Acknowledgement Number " & Me.id strMessageText = Me.Firstname &...
  13. R

    Solved want the record to show me the customer name not the id number

    one on the guys on here really helped me create some code that went into the form " acknowledge order" i have now copied that code to the " enter order details the problem i have is that the when i create a text box to look for the customer name it gives me the ID number for that...
  14. R

    Solved file path

    I only used the numbering on those 3 line items just to show the 3 ways i was trying to make it work .i dont normally do that thanks steve
  15. R

    Solved file path

    arnelgp , that works great thank you . if i wanted just to create the folder path without sending the pdf file would i just have to remove the line DoCmd.OutputTo acOutputReport, "order acknowledgement", acFormatPDF, strFullPath? thanks steve
  16. R

    Solved file path

    Private Sub cmdPDF_Click() On Error GoTo Err_Handler Const FOLDER_EXISTS = 75 Const MESSAGE_TEXT1 = "No current invoice." Const MESSAGE_TEXT2 = "No folder set for storing PDF files." Dim strFullPath As String Dim varFolder As Variant Dim CustomerPath As String...
  17. R

    Solved file path

    this problem with it being in the table is i would have to change the year every year i want to get this final path where my file will go to \\192.168.2.14\contdocs\sales\orders\current orders \2023\customer name \ NCO No and the year is varible as is the customername and nco number the...
  18. R

    Solved file path

    Do you mind telling me where i would put that in the code thanks steve
  19. R

    Solved file path

    Private Sub cmdPDF_Click() On Error GoTo Err_Handler Const FOLDER_EXISTS = 75 Const MESSAGE_TEXT1 = "No current invoice." Const MESSAGE_TEXT2 = "No folder set for storing PDF files." Dim strFullPath As String Dim varFolder As Variant If Not IsNull(Me.id) Then...
Back
Top Bottom