Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Spaces in fields

Status
Not open for further replies.

Slippenos

MIS
Apr 22, 2005
333
0
0
US
Can I have field names with spaces ..

Example:

'Due Date'

It may not be good form, I'm trying to work with pre-existing data from an old employee.

-Thanks.

 
Yes, but it's not recommended.
Don't forget to use this syntax when referencing such a field: [Due Date]

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
Yes, you can do it, but can get quite painful.
What I have done in the past is create a query for each table that translates old (bad format) names into new (good format) names. Then reference only the queries in my new code/forms/queries.

In query designer for field 'due date' just put in:

DueDate:[Due Date]

then use the query from there on out.
Works like a champ from then on out and doesn't mess with previous code.
HTH,
Rob
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top