Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations dencom on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by ali32uk

  1. ali32uk

    Check if date is 1st of the month

    OK thanks i understand
  2. ali32uk

    Check if date is 1st of the month

    I ve tried the code, unfortunately it does nt work, even if I select 1st of month its still picks up the else function Ali
  3. ali32uk

    Conditional Formatting to Date Range

    Hi All I m trying to use conditional formatting on a textbox on a continuous form, to find if the TxtMonth Date value is between Startdate and enddate date values, as below: Problem i m having is that it only checks if the day value is between day values of startdate and enddate, so for...
  4. ali32uk

    Check if date is 1st of the month

    Thank you will give it a try
  5. ali32uk

    Check if date is 1st of the month

    Hi All I m hoping this is simple one.. I just want to check if the date entered is 1st of the month, if not display a msgbox for user to correct? Appreciate your help thank you Ali
  6. ali32uk

    Enter new date based on record plus combo record

    Thank you for your help!
  7. ali32uk

    Enter new date based on record plus combo record

    Hi All thought this would be simple, turns out for me its not... I m trying to do the following I have a "Startdate" field on a form, and a combo box "comboMonths" and an enddate field, based on the user choosing a date in startdate and then selecting either 3, 6 or 12 from the combo box, I m...
  8. ali32uk

    If between 2 dates then colour text box

    sorry I should add, I m looking to repeat this for different date so If StartDate falls between 01/11/2015 and 30/11/2015 then change the back colour of a textbox to red elseif StartDate falls between 01/12/2015 and 31/12/2015 then change the back colour of a textbox to red elseif StartDate...
  9. ali32uk

    If between 2 dates then colour text box

    Hi All Apologies but I dont know where to go with this, I just want to do an if statement which says if StartDate falls between 01/11/2015 and 30/11/2015 then change the back colour of a textbox to red can any one help?? I m a bit out of practice and not done coding for many years... so you...
  10. ali32uk

    create 5 new records and enter values on form open

    Hi All I m looking for a little help with an access DB I m creating, it has a sub form called SubPromotedProducts, on opening the the master form Step2_AssetAssignment, I d like 5 new records to be entered into the subform automatically, as below this image shows the desired result, so 5...
  11. ali32uk

    Continuous Form BackColor issue

    Hi I would appreciate anyone's help with this I have a continuous form which I m using the backcolor function to change a text box [Order_Frequency_100] color based on the value in another textbox [Rating100] Code: Private Sub Form_Current() If Me.Rating100.Value < 4.5 Or...
  12. ali32uk

    Filter 6 months with end date of the end of the last full month

    Hi I m using the following as criteria in my query Between DateAdd("m",-12,Date()) And DateAdd("m",-6,Date()) which works great but does nt quite do what i m looking for. this takes from the current date, ideally what i want is from the last full month, i.e. today is 28th July, so it filters...
  13. ali32uk

    update all table records to value in a combo box

    HI thanks for your response I ve tried this but unfortunately it just places " & TxtRecordvalue & " in the table field... am I doing something wrong? SQL UPDATE ExportTable SET ExportTable.recordvalue = '" & txtrecordvalue & "'; BR Alastair
  14. ali32uk

    update all table records to value in a combo box

    Hi All Last question for today... I want to use an update query to update every value in a table column "recordvalue" to the value entered in my form TxtRecordvalue, I know I should know this but for the life of me I cant figure it Any help appreciated! Alastair
  15. ali32uk

    IF Day element is not 01 then change to 01

    Perfect thankyou, it just the way its needed for person its being outputted too

Part and Inventory Search

Back
Top