spaces in field name...VB doesnt like it!

s0rtd

Registered User.
Local time
Tomorrow, 02:00
Joined
Apr 16, 2003
Messages
96
hey guys,

this has probably been asked a million times (and is probably really simple), if you know of a thread explaining this please feel free to point me there :D
I have done some searches and cant find anything...

I have a query which has the field name 'Scheduled for'

i am trying to do this in VB:
Code:
 StartDate = rst!Scheduled for

obviously it wont work, i have tried this:
Code:
 StartDate = rst!("Scheduled for")

but this too doesnt work...

please help me out here

cheers
Jurgen
 
cheers Rich.... i knew it would be something like that, just didnt know what character it wanted :P


cheers dude
 
Jurgen,

You can avoid the trouble if you name your objects; tables,
forms, reports, fields and controls without spaces or special
symbols.

Wayne
 
You should learn to use a standard naming convention. The Leszynski/Reddick Guidelines for Access is the most commonly used naming convention for Access objects.

Commonly used naming conventions

HTH
 

Users who are viewing this thread

Back
Top Bottom