Sorting my Access Database

%3CLINGO-SUB%20id%3D%22lingo-sub-1625565%22%20slang%3D%22en-US%22%3ESorting%20my%20Access%20Database%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1625565%22%20slang%3D%22en-US%22%3E%3CP%3EI%20am%20having%20trouble%20sorting%20my%20database.%20ONE%20entry%20will%20not%20sort%20properly.%20I%20have%20erased%20the%20entry%20and%20re-entered%20it%20without%20success.%20I%20am%20sorting%20on%20three%20fields%20out%20of%20maybe%20thirty%20and%20everything%20sorts%20properly%20but%20this%20one%20entry.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1625565%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAccess%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1625652%22%20slang%3D%22en-US%22%3ERe%3A%20Sorting%20my%20Access%20Database%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1625652%22%20slang%3D%22en-US%22%3EI'm%20afraid%20you%20haven't%20given%20us%20a%20lot%20to%20go%20on%20to%20be%20in%20a%20position%20to%20help%20you.%20Remember%2C%20we%20can't%20see%20your%20database%2C%20your%20values%2C%20...%3CBR%20%2F%3E%3CBR%20%2F%3EYou%20need%20to%20provide%20us%20with%20enough%20information%20to%20be%20able%20to%20replicate%20the%20issue%20at%20our%20end%20to%20then%20be%20in%20a%20position%20to%20diagnose%20the%20issue.%20Another%20good%20option%20is%20sharing%20a%20copy%20of%20the%20database%20in%20question%20(removing%20any%20confidential%20information%20first!).%3CBR%20%2F%3E%3CBR%20%2F%3ESo%20you%20say%20it%20doesn't%20sort%20properly%2C%20what%20are%20your%20values%3F%20Which%20one%20doesn't%20want%20to%20sort%3F%20What%20is%20the%20data%20type%20of%20that%20field%3F%20How%20are%20you%20applying%20the%20sort%3F%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1625775%22%20slang%3D%22en-US%22%3ERe%3A%20Sorting%20my%20Access%20Database%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1625775%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F778362%22%20target%3D%22_blank%22%3E%40JLovell%3C%2FA%3E%26nbsp%3BIf%20you%20find%20it%20too%20onerous%20to%20describe%20the%20relational%20database%20application%20in%20sufficient%20detail%2C%20one%20alternative%20is%20to%20upload%20a%20copy%20of%20the%20accdb%20with%20enough%20sample%20data%20to%20illustrate%20the%20problem.%20Remove%20or%20modify%20any%20sensitive%20data%2C%20of%20course.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1628289%22%20slang%3D%22en-US%22%3ERe%3A%20Sorting%20my%20Access%20Database%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1628289%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F459380%22%20target%3D%22_blank%22%3E%40Daniel_Pineault%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EDaniel%20(et%20al)%20thanks%20for%20getting%20back%20to%20me.%20I%20have%20database%20to%20be%20able%20to%20inventory%20cemeteries.%20The%20database%20was%20imported%20from%20excel%20and%20it%20was%20originally%20exported%20to%20excel%20from%20Alpha%205%20another%20database%20program.%3C%2FP%3E%3CP%3EThe%20database%20has%20over%207000%20records.%20Three%20of%20the%20fields%20are%20%3CSTRONG%3Elot%20prefix%3C%2FSTRONG%3E%20(alpha)%20%3CSTRONG%3Elot%20number%3C%2FSTRONG%3E%20(numeric)%20and%26nbsp%3B%3CSTRONG%3Elot%20number%20suffix%26nbsp%3B%3C%2FSTRONG%3E(alpha).%20When%20I%20try%20to%20create%20a%20query%20with%20lot%20prefix%20first%20(ascending)%2C%20lot%20number%20second%20(ascending)%20and%20lot%20number%20suffix%20third%20(ascending)%2C%20and%20then%20run%20the%20query%20EVERYTHING%20sorts%20properly%20with%20the%20exception%20of%20ONE%20record.%20(The%20last%20record%20I%20entered%20on%20the%20database%20and%20this%20entry%20was%20after%20the%20transfer).%20The%20record%20has%20a%20no%20lot%20prefix%20and%20a%20lot%20number%20of%20859%20and%20should%20certainly%20not%20be%20first%20as%20the%20list%20should%20actually%20start%20with%20blanks%20in%20all%20three%20fields%20and%20then%20lot%20prefix%20of%20A%2C%20lot%20number%201%2C%20and%20not%20lot%20number%20suffix.%26nbsp%3B%20Now%20although%20I%20want%20to%20sort%20on%20these%20three%20fields%20I%20still%20want%20ALL%20the%20fields%20to%20be%20in%20query%2C%20just%20with%20that%20three%20level%20sort.%20I%20hope%20this%20is%20a%20better%20explanation.%20I%20have%20also%20tried%20deleting%20the%20record%20and%20re-entering%20it%20to%20no%20avail.%20I%20have%20several%20SORTS%20that%20I%20would%20like%20to%20create%20and%20several%20cemeteries%20to%20do%20this%20with%2C%20but%20I%20can't%20seem%20to%20get%20it%20right%20with%20the%20first%20SORT.%20Any%20help%20would%20be%20appreciated.%20Very%20frustrating.%20-%20Jeff%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1632870%22%20slang%3D%22en-US%22%3ERe%3A%20Sorting%20my%20Access%20Database%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1632870%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F778362%22%20target%3D%22_blank%22%3E%40JLovell%3C%2FA%3E%26nbsp%3BJust%20a%20little%20add%20on%20to%20my%20previous%20post.%20I%20just%20added%20another%20record%20and%20it%20sorted%20properly.%20I%20cannot%20see%20why%20I%20have%20ONE%20record%20that%20I%20added%20that%20will%20not%20sort%20and%20insists%20on%20be%20first%20in%20my%20sort%20no%20matter%20what%20values%20I%20put%20in%20the%20sort%20fields.%20-%20Thanks%20for%20the%20help%20-%20jeff%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1635404%22%20slang%3D%22en-US%22%3ERe%3A%20Sorting%20my%20Access%20Database%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1635404%22%20slang%3D%22en-US%22%3E%3CP%3ESounds%20to%20me%20the%20issue%20is%20because%20there%20no%20lot%20prefix%2C%20so%20this%20impacts%20sorting.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIt%20would%20also%20help%20if%20you%20gave%20use%20a%20sample%20of%20your%20data%2C%20the%20current%20sorting%20result%20and%20the%20desired%20sorting%20result.%26nbsp%3B%20You%20also%20need%20to%20provide%20us%20with%20the%20SQL%20Statement%20you%20are%20using.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EIf%20you%20can%20share%20a%20copy%20of%20your%20db%20(please%20remove%20any%20confidential%20information%20first)%20by%20uploading%20it%20to%20an%20online%20folder%20(OneDrive%2C%20GoogleDrive%2C%20DropBox%2C%20...)%20and%20then%20share%20the%20link%20we%20could%20take%20a%20closer%20look%20at%20the%20data%20and%20SQL%20statement%20you%20need%20to%20use%20to%20get%20thing%20sorted%20the%20way%20you%20want%20it%20to%20be.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1636258%22%20slang%3D%22en-US%22%3ERe%3A%20Sorting%20my%20Access%20Database%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1636258%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F459380%22%20target%3D%22_blank%22%3E%40Daniel_Pineault%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22JLovell_0-1599236106864.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F216625i29142089540B0FA6%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20title%3D%22JLovell_0-1599236106864.png%22%20alt%3D%22JLovell_0-1599236106864.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22JLovell_1-1599236246843.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F216626iDC71C19971C18A2D%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20title%3D%22JLovell_1-1599236246843.png%22%20alt%3D%22JLovell_1-1599236246843.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EThese%20two%20screen%20shots%20show%20the%20top%20INCORRECT%20record%20out%20of%20sequence%20and%20all%20the%20other%20records%20in%20correct%20sequence%20and%20the%20bottom%20screen%20shot%20shows%20the%20sort%20I%20am%20using.%20Thanks%20for%20any%20help%20-%20Jeff%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1637472%22%20slang%3D%22en-US%22%3ERe%3A%20Sorting%20my%20Access%20Database%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1637472%22%20slang%3D%22en-US%22%3ECan%20you%20show%20me%20a%20screenshot%20of%20your%20table%20design%20structure%20with%20the%20data%20types.%3CBR%20%2F%3E%3CBR%20%2F%3ENormally%2C%20one%20is%20not%20supposed%20to%20work%20in%20tables%2C%20so%20this%20isn't%20normally%20a%20consideration.%20You%20should%20be%20working%20through%20forms%20built%20upon%20queries.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1638478%22%20slang%3D%22en-US%22%3ERe%3A%20Sorting%20my%20Access%20Database%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1638478%22%20slang%3D%22en-US%22%3E%3CP%3Ei%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F459380%22%20target%3D%22_blank%22%3E%40Daniel_Pineault%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20believe%20this%20is%20a%20query%20off%20the%20form%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22JLovell_0-1599331987364.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F216758iAFFB39164FAB27C9%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20title%3D%22JLovell_0-1599331987364.png%22%20alt%3D%22JLovell_0-1599331987364.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3Eand%20958%20still%20show%20at%20top%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20think%20this%20is%20an%20SQL%20of%20the%20query%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22JLovell_1-1599332064249.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F216759iF85AD77717DBE4FF%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20title%3D%22JLovell_1-1599332064249.png%22%20alt%3D%22JLovell_1-1599332064249.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Ethese%20should%20be%20table%20design%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22JLovell_2-1599332196246.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F216761iBFBD2966C503DD95%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20title%3D%22JLovell_2-1599332196246.png%22%20alt%3D%22JLovell_2-1599332196246.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22JLovell_3-1599332236912.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F216762iE62E2E255F7AD509%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20title%3D%22JLovell_3-1599332236912.png%22%20alt%3D%22JLovell_3-1599332236912.png%22%20%2F%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22JLovell_4-1599332260868.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F216763i13CA62B9FCCDD9C1%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20title%3D%22JLovell_4-1599332260868.png%22%20alt%3D%22JLovell_4-1599332260868.png%22%20%2F%3E%3C%2FSPAN%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22JLovell_5-1599332290023.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F216764i16411D6D66D5B767%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20title%3D%22JLovell_5-1599332290023.png%22%20alt%3D%22JLovell_5-1599332290023.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%20as%20always%20for%20any%20help%20-%20Jeff%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1652963%22%20slang%3D%22en-US%22%3ERe%3A%20Sorting%20my%20Access%20Database%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1652963%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F778362%22%20target%3D%22_blank%22%3E%40JLovell%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20could%20really%20use%20some%20help%20with%20the%20above%20issue%20folks%20-%20thanks%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EJeff%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1655318%22%20slang%3D%22en-US%22%3ERe%3A%20Sorting%20my%20Access%20Database%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1655318%22%20slang%3D%22en-US%22%3EI've%20tried%20replicating%20the%20issue%2C%20but%20have%20been%20unable%20to.%20Any%20chance%20you%20could%20upload%20a%20copy%20of%20your%20database%20to%20OneDrive%2C%20GoogleDrive%2C%20Dropbox%2C%20...%20And%20provide%20us%20with%20a%20link%20for%20closer%20inspection%3F%3CBR%20%2F%3E%3CBR%20%2F%3EBe%20sure%20to%20delete%20any%20confidential%20information%20beforehand.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1660562%22%20slang%3D%22en-US%22%3ERe%3A%20Sorting%20my%20Access%20Database%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1660562%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F459380%22%20target%3D%22_blank%22%3E%40Daniel_Pineault%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EDan%20I%20can%20send%20it%20to%20a%20private%20email%2C%20but%20I%20cant%20put%20it%20up%20on%20the%20web.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1660860%22%20slang%3D%22en-US%22%3ERe%3A%20Sorting%20my%20Access%20Database%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1660860%22%20slang%3D%22en-US%22%3EContact%20me%20through%20my%20site%3CBR%20%2F%3E%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Fcardaconsultants.com%2Fcontact-us%2F%22%20target%3D%22_blank%22%20rel%3D%22nofollow%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fcardaconsultants.com%2Fcontact-us%2F%3C%2FA%3E%3CBR%20%2F%3E%3CBR%20%2F%3EAnd%20I'll%20reply%20so%20you%20can%20share%20with%20me.%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E
Highlighted
Occasional Contributor

I am having trouble sorting my database. ONE entry will not sort properly. I have erased the entry and re-entered it without success. I am sorting on three fields out of maybe thirty and everything sorts properly but this one entry.

12 Replies
Highlighted
I'm afraid you haven't given us a lot to go on to be in a position to help you. Remember, we can't see your database, your values, ...

You need to provide us with enough information to be able to replicate the issue at our end to then be in a position to diagnose the issue. Another good option is sharing a copy of the database in question (removing any confidential information first!).

So you say it doesn't sort properly, what are your values? Which one doesn't want to sort? What is the data type of that field? How are you applying the sort?
Highlighted

@JLovell If you find it too onerous to describe the relational database application in sufficient detail, one alternative is to upload a copy of the accdb with enough sample data to illustrate the problem. Remove or modify any sensitive data, of course.

Highlighted

@Daniel_Pineault 

 

Daniel (et al) thanks for getting back to me. I have database to be able to inventory cemeteries. The database was imported from excel and it was originally exported to excel from Alpha 5 another database program.

The database has over 7000 records. Three of the fields are lot prefix (alpha) lot number (numeric) and lot number suffix (alpha). When I try to create a query with lot prefix first (ascending), lot number second (ascending) and lot number suffix third (ascending), and then run the query EVERYTHING sorts properly with the exception of ONE record. (The last record I entered on the database and this entry was after the transfer). The record has a no lot prefix and a lot number of 859 and should certainly not be first as the list should actually start with blanks in all three fields and then lot prefix of A, lot number 1, and not lot number suffix.  Now although I want to sort on these three fields I still want ALL the fields to be in query, just with that three level sort. I hope this is a better explanation. I have also tried deleting the record and re-entering it to no avail. I have several SORTS that I would like to create and several cemeteries to do this with, but I can't seem to get it right with the first SORT. Any help would be appreciated. Very frustrating. - Jeff

Highlighted

@JLovell Just a little add on to my previous post. I just added another record and it sorted properly. I cannot see why I have ONE record that I added that will not sort and insists on be first in my sort no matter what values I put in the sort fields. - Thanks for the help - jeff

Highlighted

Sounds to me the issue is because there no lot prefix, so this impacts sorting.

 

It would also help if you gave use a sample of your data, the current sorting result and the desired sorting result.  You also need to provide us with the SQL Statement you are using.

 

If you can share a copy of your db (please remove any confidential information first) by uploading it to an online folder (OneDrive, GoogleDrive, DropBox, ...) and then share the link we could take a closer look at the data and SQL statement you need to use to get thing sorted the way you want it to be.

 

 

Highlighted

@Daniel_Pineault 

 

JLovell_0-1599236106864.png

 

JLovell_1-1599236246843.png

These two screen shots show the top INCORRECT record out of sequence and all the other records in correct sequence and the bottom screen shot shows the sort I am using. Thanks for any help - Jeff

 

Highlighted
Can you show me a screenshot of your table design structure with the data types.

Normally, one is not supposed to work in tables, so this isn't normally a consideration. You should be working through forms built upon queries.
Highlighted

i@Daniel_Pineault 

 

I believe this is a query off the form

 

JLovell_0-1599331987364.png

and 958 still show at top

 

I think this is an SQL of the query

JLovell_1-1599332064249.png

 

these should be table design

 

JLovell_2-1599332196246.png

 

JLovell_3-1599332236912.pngJLovell_4-1599332260868.pngJLovell_5-1599332290023.png

 

 

Thanks as always for any help - Jeff

Highlighted

@JLovell 

 

I could really use some help with the above issue folks - thanks

 

Jeff

Highlighted
I've tried replicating the issue, but have been unable to. Any chance you could upload a copy of your database to OneDrive, GoogleDrive, Dropbox, ... And provide us with a link for closer inspection?

Be sure to delete any confidential information beforehand.
Highlighted

@Daniel_Pineault 

 

Dan I can send it to a private email, but I cant put it up on the web.

Highlighted
Contact me through my site

https://cardaconsultants.com/contact-us/

And I'll reply so you can share with me.