Topic: Subsequent exports from Mapmate to Recorder
I am in the process of setting up a Recorder database, and have exported some records from Mapmate using the query below. I now want to export subsequent records from the same Mapmate database to add to Recorder, but the query i have for subsequent exports from Mapmate requires me to enter a cuk. My copy of Mapmate is a hub that receives data from many cuks, and i want to export all of these at once, is there a query that will do this?
thank you
Lorna
SELECT Records.[_guk], Records.[_guk] AS MapMate_guk, [Taxa\Default].Taxon, [Sites\Default].Name AS Location_name, [Sites\Default].OSGridRef AS Gridref, IIf([Sites\Default].[ViceCounty]>200,'H' & [Sites\Default].[ViceCounty]-200,[Sites\Default].[ViceCounty]) AS Vice_county, (IIf(Records.Quantity=-1, 'd', IIf(Records.Quantity=-2, 'a', IIf(Records.Quantity=-3, 'f', IIf(Records.Quantity=-4, 'o', IIf(Records.Quantity=-5, 'r', IIf(Records.Quantity=-6, 'vr', IIf(Records.Quantity=-7, 'NotPresent', IIf(Records.Quantity=0, '+', Records.Quantity))))))))) & (IIf([Records]![*Stage]='0', 'None', IIf([Records]![*Stage]='l', 'FirstWinter', IIf([Records]![*Stage]='m', 'SecondWinter', IIf([Records]![*Stage]='n', 'ThirdWinter', IIf([Records]![*Stage]='o', 'FourthWinter', IIf([Records]![*Stage]='p', 'FirstSummer', IIf([Records]![*Stage]='q', 'SecondSummer', IIf([Records]![*Stage]='r', 'ThirdSummer', IIf([Records]![*Stage]='s', 'FourthSummer', [TaxonStage].[Stage])))))))))) & (IIf([Records]![*Sex]='u', '', IIf([Records]![*Sex]='g', 'MixedSexGroup', [TaxonSex].[Sex]))) AS Abundance, IIf([Records].[Date] = [Records].[DateTo], Format([Records].[Date],'dd/mm/yyyy'), (Format([Records].[Date],'dd/mm/yyyy') & " - " & Format([Records].[DateTo],'dd/mm/yyyy'))) AS DateRange, Recorders.Name AS Recorder, Recorders_1.Name AS Determiner, Methods.Method, Records.Comment
FROM ((((((Records INNER JOIN [Taxa\Default] ON Records.[*Taxon] = [Taxa\Default].[_guk]) INNER JOIN [Sites\Default] ON Records.[*Site] = [Sites\Default].[_guk]) INNER JOIN Methods ON Records.[*Method] = Methods.[_guk]) INNER JOIN Recorders ON Records.[*Recorder] = Recorders.[_guk]) INNER JOIN TaxonStage ON Records.[*Stage] = TaxonStage.[_guk]) INNER JOIN TaxonSex ON Records.[*Sex] = TaxonSex.[_guk]) INNER JOIN Recorders AS Recorders_1 ON Records.[*Identifier] = Recorders_1.[_guk]
WHERE ((([Sites\Default].OSGridRef) Is Not Null));