Search results

  1. C

    Top 3 times for each distance

    Hi all I've tried to follow the MS example in http://support.microsoft.com/kb/210039 which works for just 2 tables, but I have more! tblDistances / tblRaces / tblResults. Each race has a single distance - there are many races with the same distances - each race has many results. So the...
  2. C

    Append records where non exist

    Pulling my hair out with this one! :mad: Append/insert records which exisit in the template table but don't exist in the working table against a specific Project ID. The working table contains MANY other records relating to specific ProjectID's. So the actual process should be...
  3. C

    Continuous form - toggled filter

    Hi I'd like to be able to filter a form (fed by an underlying query) by using a toggle button setup on the form itself. My simplistic pseudo-code would go something like this. Default state List all records where DateRemoved is Null. Toggle state List all reocrds where DateRemoved is NotNull...
  4. C

    Import / Link Excel cell into Access field?

    Can anyone help..... I'm trying to import/link a single excel cell reference value (Currency) into a specific field in an Access table. The field must remain uptodate as and when the excel sheet changes, but will also be different for every single database record. I've got the file reference...
  5. C

    Date/Time field problem

    That worked perfectly - cheers!
  6. C

    Date/Time field problem

    Thanks for that. That's great for the future, but I really need to remove the time element from the existing data. Is there anyway that I can achieve this, maybe with an update query or something fancy? Thanks
  7. C

    Date/Time field problem

    I've got a small problem with a calculation on an ASP form, and I've tied it down to the date field in the db. Basically, because this certain field records date & time, the calculations are off slightly. Is there any way that I can strip out/delete the TIME data from the date/time field? eg...
  8. C

    Append from subform selection

    I'm attempting to create a query that will append multiple records to a second table based on the selection from a subform (datasheet view). However, when I run the query, it only appends the first record in the selection, ie lots are greyed/selected but only one record seems to be...
  9. C

    Calculation troubles

    I'm trying to calculate the number of holidays a person is entitled to based on their leaving date. For every 18.25 days, the employee is entitled to 1 holiday, then deduct those already taken and your left with the balance of entitlement. Eg StartDate : 01/01/2004 LeavingDate : 01/10/2004...
  10. C

    IF New then...

    Is there any way that I can create a record in another table based on the ID of another, when a new record is created. Eg Create a new employee record Insert this new records ID into tblTraining. I could use a button. Is it possible to say "show button only if form is DataEntry/New Record"...
  11. C

    Data required IF statement

    Is there a way that I can say... If Course_Expires? = Yes then Course_Expiry=IsRequired. I've managed to get the DateExpiry field to enable/disable based on the Expires question? If Me!Course_Expires.Value = True Then Me!Course_Expiry.Enabled = True
  12. C

    Relationships

    So, even though all users are maintained in a single table, the PK can be referenced to twice in another? Then in relationships, you have to enter the same table twice : t_Users --- T_Sites ---t_Users_1 A developer is responsible for a site. A client owns the site. Both developer & client are...
  13. C

    Relationships

    Is it possible/good practice to have relationships from 2 seperate fields within one table to a single field within another? Eg TableUsers UserId / UserName / User Type data... 1 / TheCompanyLtd / Developer 2 / TheOtherLtd / Client 3 / Company215Ltd / Client TableSites SiteId / SiteName /...
  14. C

    2 table query

    Hi That's how I managed to sort it in the end, a 2 query-query. Shame it can't be a single query. Thanks for your help.
  15. C

    2 table query

    I'm trying to create a query that will look at 2 tables to calculate remaining holiday. EmployeeTable has a field HolidayEnt (entitlement) AbsenceTable can have many types of absence, of which one is holiday. I want to calculate remaining holiday based on "HolidayEnt-sum(AbsenceTable.DaysOff)...
  16. C

    IF/THEN required=yes

    Can I modify this statement to so that 1. If enabled, data is required. 2. If disabled, value is nulled Why? 1. If paid in advance, a DatePaid is required. 2. If paid in advance=Yes and date is entered, then user for some reason changes back to PiA=No, DatePaid field should be nulled out -...
  17. C

    Autogenerate reference

    Mile Cracked it, using your fantastic script as a base, I've added a few line and It now places characters before the generated code. Thanks again for your help - much appreciated. CraigBFG
  18. C

    Autogenerate reference

    and now.... as if you hadn't helped me enough already - grovel, creep - can this wonderful script be mod'd to place characters before the generated code. For example. PL0402001 Basically, this will become a transaction code within my database, the PL showing that it came from the Purchase...
  19. C

    Autogenerate reference

    Oops, got ahead of myself there, commented out the line when I placed in the previous reset line. I bow at your feet - oh wise one:D :cool:
  20. C

    Autogenerate reference

    Tried that, and compacted afterwards so the counter would start at 0. I'm using A2k on XPPro. Attached db as it stands after various mods. I've converted the txtData box to be a date input box. thanks for all your help, if you can recreate this, then excellent.
Back
Top Bottom