Search results

  1. B

    Multi select problem

    Hello All, I have created a form which allocates cables to drums. This is based on a table called "Cab_Sched_Temp" which has a "Cable_No" field and a "Drum_Number" field. Basically, the way it works is that within the form I have a list box with a list of Cable_No's in it, and a combo box with...
  2. B

    Company logo in report

    Hello all, I've made quite a few reports for my company and each one has the company logo stored in the report header as an image. I also have a job title and number in the heading that just describes the current job. The problem is that firstly, I've added the logo top every report and...
  3. B

    Check Box as output in query

    Thanks!!! That worked a treat!! Bakerboy
  4. B

    Check Box as output in query

    Thanks for your reply, I've tried it in a form and the check box appearance seems to be there, however I'm not getting it ticked or not ticked as desired. I put the above code in the Control Source box, is this correct? I've tried putting Yes and No instead of the True and False but still no...
  5. B

    write conflict

    Hello All, I've created a query that resets a table entry called "Drum" to null if I change the record "Cable". This process works, except I get the following error when I do so: " Write Conflict This record has been changed by another user since you started editing it. If you save the...
  6. B

    Check Box as output in query

    Hello All, Hopefully this one is not as difficult as my previous post. I have a query, and I would like to add a column that checks to see if another column called Drawn is null or not. If it is null, then in the output of my query, I would like to see an unchecked checkbox, and if it isn't...
  7. B

    Counting Records In Query

    Hi Paul, I think I know a way but it may not be the most efficient though. For the queries, B1, B2 and B3, you could perhaps add an expression that does the following: (Assume the answer for your count is is a column called Count) Expr1: Iif(IsNull([Count]), 0, [Count]) I think this code is...
  8. B

    Summing and updating table

    Hello all, I have a table at the moment that has the following columns: Parent_Tag, Child_Tag, Value and Level. This table represents a tree diagram. The Parent_Tag is the name of the level connected directly above the Child_Tag. The Child_Tag has an associated Value and Level. The Value is...
  9. B

    Use combo box that also updates table

    The thing is I don't have a form at all. The combo box is just within the query. I suppose, though, now that I think about it, I could reproduce the same structure of the query in a form. That wouldn't be too much trouble. Cheers, Bakerboy
  10. B

    Sum totals where null

    Sorry, one other thing. The new PowerSum column is a good idea but I wonder if it's possible to have these totals, aswell as the load totals in the same column. My idea would be to add to the code, some way of making PowerSum equal to Power for all terminal nodes. Do you know how to do this...
  11. B

    Sum totals where null

    Thanks heaps Wayne, That appears to be pretty good. One thing I'm noticing though is that the L1 load coming directly of the main MSB1, is being added twice. I think this is because it is being counted as a terminal node aswell as a load directly off the level. Do you know how to fix this...
  12. B

    Use combo box that also updates table

    Thanks again Wayne, I'm not sure where you mean for me to enter the code. The combo box is within the query, so when I right click on the query, there is no event box. How do I get to this? Cheers, Bakerboy
  13. B

    Sum totals where null

    Of course, actually attaching the file will help!!
  14. B

    Sum totals where null

    Thanks for your reply Wayne, Unfortunately, this is a dynamic tree diagram. (Makes life a bit more complicated!!) I've attached a sample db if you wanna have a look. I hope it makes sense. Thanks heaps for your help by the way. Cheers, Bakerboy
  15. B

    Sum totals where null

    I'm trying to create query based on a tree diagram. I have a table with the following info: "Upstream_Feed", "Level_No", Tag_Number" and "Power". Upstream_Feed - ID (Tag_Number) of level connected directly above Level_Number - current level number (top = 0, next is 1 etc..) Tag_Number -...
  16. B

    summing totals in reports

    Thanks for the reply, The problem I'm having is that within the report, the data is sorted by Level_No. So from the design view of the report, all Level_No data goes in the same detail section of the report. There is not actually a separate Level 2, Level 3 etc box. Therefore, I cannot...
  17. B

    Use combo box that also updates table

    Hello All, I was trying to design a query that looks up values from a table and allows the user to select from a combo box. This part is farily straight forward. I would like to extend this so that I can also type in a value into the combo box, and have it update the table it was choosing...
  18. B

    summing totals in reports

    I have a report which is sorted by Level_No. If I have summed a total for say Level_No 3, then can I use this result when I sum a total in Level_No 2? For example, the result of Level_No 2 may include certain values as well as the total from Level_No 3.
  19. B

    default value

    Sorry Pat, The problem was fixed the way you suggested, it was just that I had two tables that both used the number, and I changed the wrong one. Thanks for your help.
  20. B

    default value

    Thanks for your response. I tried doing what you suggested , but the zero keeps coming up in the query, but not the table. I also tried setting the default value to "Null" but that got the same result. Is there anything I can toggle in the actual query?
Back
Top Bottom