LifeDream said:
what dose these mean in access []?
The square brackets are used for different purposes depending on the
context. In SQL statements they are used to demark field names that contain
spaces or other non-alphanumeric characters. For example if you have a
column named 'Customer ID' you'll need square brackets around it in a SQL
statement like so ...
SELECT [Customer ID] FROM Customers
They're also used with the 'LIKE' operator to indicate that a character
which is usually used as a wild card character is to be treated as a literal
character instead. For example the asterisk is usually a wildcard character
representing one or more characters, so to select records that contain the
asterisk in a specified column you might use an expression such as ...
SELECT Customers.*
FROM Customers
WHERE (((Customers.Company) Like "*[*]*"));
Here the asterisk within the square brackets will be interpreted as a
literal search character, while the two asterisks outside the square
brackets will be interpreted as wildcard characters.