search facility

goju

Registered User.
Local time
Today, 23:30
Joined
Apr 7, 2005
Messages
77
trying to use this as a source code to look up numbers and records.

it returns a syntax error.

SELECT qryForForm.EKGB Number, FROM qryForForm ORDER BY qryForForm.EKGB Number;

any ideas???
 
If 'EKGB Number' is the name of a field, go back and fix it there by leaving the spaces out of your field names.
 
Number, FROM

Remove the comma. And enclose field and table names with square brackets.

SELECT [qryForForm].[EKGB Number] FROM [qryForForm] ORDER BY [qryForForm].[EKGB Number];

Maybe find a website detailing SQL.
 
Ta thank you for your paitents

this works (I think) but doesnt change the rest of the data. just the serial numbers.

the best way to learn is making mistakes ( I seem to make a lot of them)
 

Users who are viewing this thread

Back
Top Bottom