Search results

  1. C

    Calling all members in UK

    I'm in London the day before, but travelling there and back in a day so I'm not there on the 29th, or I might have turned up! Have fun ;)
  2. C

    Help with subqueries... aaarrggh!!

    ignore me - I Fixed it!! Stupid me had missed out the most important bit - marked in blue ;) I've now got SELECT qryGENAttendeeBase.AttendeeID FROM qryGENAttendeeBase WHERE (qryGENAttendeeBase.CurrentAttendee=True) AND (NOT Exists (SELECT qry_Registration.AttendeeID FROM qry_Registration...
  3. C

    Help with subqueries... aaarrggh!!

    Access 2007. I have a training database which logs all our employees and which training courses they have been enrolled on (plus when they attended, etc... ) What I am trying to do is to write a query which tells me which of our current employees has NOT been enrolled on a certain course...
  4. C

    Recordsource Coding Help

    try replacing +CCN-1 with +Int(MIS/12) in your code.... what does that do? ... sometimes it doesn't like you referring to calculated text boxes in another calculation...
  5. C

    Left join query with two criterias

    Fab - wasn't sure if I'd got the logic right to get the right answer but thought it should at least help ;)
  6. C

    Left join query with two criterias

    try adding this WHERE statement to your criteria? WHERE (((yq_NonTermination.Dublet_Lagervare) Is Null)) OR (((yq_NonTermination.[Produkt slut dato])>=[q_Termination].[Produkt slut dato])) ... although that brings up a 3rd one as well....
  7. C

    Display A field from a seperate table in a form to use as reference

    there are a couple of ways you can do this... I tend to use a combo box to 'look up' the contract and then show the related info in an unbound text box alongside... So, as an eg: Set up a combo box based on tblContracts, making sure you include in it the info you want to show alongside. I'm...
  8. C

    School database

    still can't see any attachments?
  9. C

    query confusion

    you might be better using a subform to list out the quantities and locations - that way you can use the parent / child link so that it only displays info for the 'current' Product? Failing that - you need to include criteria on the record source of the list box, limiting it to only the...
  10. C

    Counting occurrences of a value in a datasheet subform

    Rest assured it'll be something simple ;) I'll check back next week and see how you get on!
  11. C

    Counting occurrences of a value in a datasheet subform

    Hmm, ok, in that case, you need to check your field names... does the field 'gender' appear in your datasheet?
  12. C

    Counting occurrences of a value in a datasheet subform

    Just to find where the error is.... try displaying your subform as a continuous form rather than a datasheet - does the calculation in the footer work then?
  13. C

    Counting occurrences of a value in a datasheet subform

    oh booger, of course, if it's a datasheet then it won't be visible... OK, in that case, add a text box control on your main form and then set the controlsource of that text box to be the text box you can't see on the datasheet, lol...... that should work!
  14. C

    Counting occurrences of a value in a datasheet subform

    In a word - yes ;) If you don't want it visible there, you can always refer to 'it' on the mainform rather than trying to do the calculation on the mainform, iyswim?
  15. C

    Counting occurrences of a value in a datasheet subform

    Me again ;) try =-Sum([Gender]="Male") Note the - before the Sum.... if you don't put that in, you'll get a negative number ;)
  16. C

    Main and subform woes

    Here you go... left some in but mixed up the names, so you can see how it works... bear in mind I wrote this about 12 years ago and my knowledge has come on a lot since then, lol.... but it worked, at the time!
  17. C

    Main and subform woes

    ok, bear with me while I strip the data ;)
  18. C

    Main and subform woes

    Only just spotted this... I have an (old) database that is very close to doing what you wanted, lol.... Mine went about it in a slightly different way - basically, you 'register' someone's need to do a course, and then you Book them onto an Event... it allowed us to build a Waiting List of...
  19. C

    Calculate number of days between parameters

    Try something like this... subsituting your own table / field names, of course... PARAMETERS [Start Date?] DateTime, [End Date?] DateTime; SELECT mytable.ContractStart, mytable.ContractEnd, DateDiff('d',IIf([ContractStart]>[Start Date?],[ContractStart],[Start Date?]),IIf([ContractEnd]>[End...
  20. C

    Working with decimals in ms access forms

    what is the data type of the base fields, and have you checked the properties of the control on the form?
Back
Top Bottom