Add Doug's recommendation to your select clause. Try this:
SELECT [Job-Book].[JobNumber], [Job-Book].[Client name],
[Job-Book].[completedsurvey], [Job-Book].[completedsiteplan],
[Job-Book].[completedtiein], [Job-Book].[completedstake],
[Job-Book].[completedtieinfinal], [Job-Book].[invocedsurvey],
[Job-Book].[invocedsiteplan], [Job-Book].[invocedtiein],
[Job-Book].[invocedstake], [Job-Book].[invocedtieinfinal],
[Job-Book].[ressurvey], [Job-Book].[ressiteplan], [Job-Book].[restiein],
[Job-Book].[resstake], [Job-Book].[restieinfinal],
FirstPart CLng(Left([JobNumber], InStr([JobNumber], "-") - 1)),
SecondPart CLng(Mid([JobNumber], InStr([JobNumber], "-") + 1))
FROM [Job-Book]
WHERE [Job-Book].[Client name])=[customer]
ORDER BY FirstPart, SecondPart;
OR
SELECT [Job-Book].[JobNumber], [Job-Book].[Client name],
[Job-Book].[completedsurvey], [Job-Book].[completedsiteplan],
[Job-Book].[completedtiein], [Job-Book].[completedstake],
[Job-Book].[completedtieinfinal], [Job-Book].[invocedsurvey],
[Job-Book].[invocedsiteplan], [Job-Book].[invocedtiein],
[Job-Book].[invocedstake], [Job-Book].[invocedtieinfinal],
[Job-Book].[ressurvey], [Job-Book].[ressiteplan], [Job-Book].[restiein],
[Job-Book].[resstake], [Job-Book].[restieinfinal]
FROM [Job-Book]
WHERE [Job-Book].[Client name]=[customer]
ORDER BY CLng(Left([JobNumber], InStr([JobNumber], "-") - 1)),
CLng(Mid([JobNumber], InStr([JobNumber], "-") + 1))
sorry I'm in a beginner lever access, I realy dont know where I would place that.
here is my sql if that is were I have to place it.
SELECT [Job-Book].[JobNumber], [Job-Book].[Client name],