Recent content by sour

  1. S

    Change number to text in report

    O just tried it in the query worked first time thank you very much.
  2. S

    Change number to text in report

    Sorry forgot to put thanks for your help
  3. S

    Change number to text in report

    Ok I have just tried it but get a syntax error, I have tried it by adding the result to a text box as below Private Sub Report_Open(Cancel As Integer) =IIf([WK]=0, "STORE", [TEXT168]) End If End Sub
  4. S

    Change number to text in report

    I have a report that has week numbers within each week are cranes that have a delivery date, I have identified that all cranes go into storage has a week "0" Within the report I want to replace the "0" with some text "STORE", I have tried VBA using an if statement, conditioning format just cant...
  5. S

    Look up a value from left to right

    Ok I will try it tonight just one question in your code you have added a field called weekno, I have 52 of these fields
  6. S

    Look up a value from left to right

    ok thanks for your help where would the code go in a form?
  7. S

    Look up a value from left to right

    The DB is a Production Schedule, the week numbers table is a calculation tool for the number of hours in that week, loading is then produced from these figures. What i am after is the fisr week of manufacture this will come from the first week with a value. Not sure how i could have designed the...
  8. S

    Look up a value from left to right

    Hello i have a DB called week numbers it consists of a order number and 52 fields from Week Number1 to 52. I also have various forms, sub forms and query's. What i am after for each order number the first week from left to right that contains a value (number field), once a value if round the...
  9. S

    Conditioning Format in a Form

    Ok I have changed the field name, taken out the quotes"", double checked all of the code within the con form still only works from week 1-11 and 50-52?
  10. S

    Conditioning Format in a Form

    Ok I will try changing the YEAR field the "" does not make any difference. The conditioning format is for one field WEEK 10, 52 fields in 2018 and 52 fields in 2019, all of which have there own format for that week number.
  11. S

    Conditioning Format in a Form

    Screen shots below
  12. S

    Conditioning Format in a Form

    1. ok I will change the year on a copy 2.yes double checked the weeks all have CF and all correct 3.The two forms are continuous forms and all of the fields run across the sub forms 4.The record source for the sub forms is from a query both of the fields WK and YEAR are in that query.
  13. S

    Conditioning Format in a Form

    Ok thanks, to cut a long story short I have a main form called switchboard, in that form I have two subforms all liked (child/master) by order number. Each subform is for a year so at present it has 2018 and 2019 each containing 52 fields which are called week numbers. So if I select an order...
  14. S

    Conditioning Format in a Form

    Hello I have 52 fields in a form all of which have the following format based on week number, if it is true the back colour changes colour. I have used the following expression [WK]="1" And [YEAR]="2018" if both are true then the back colour should change. Some of them work some don't? Can you...
  15. S

    Append from form to sub-form

    Ok will double check my master/child and look into insert action sql, this is new to me so i will have to do some research, thanks for your help.
Top Bottom