[mso] Re: Access97 Dates not Working on Report :VSMail mx3

  • From: <4office@xxxxxxxxxxxxx>
  • To: mso@xxxxxxxxxxxxx
  • Date: Tue, 21 Jan 2003 14:02:10 -0500

Ok I changed all my [Date]'s to [ShiftDate]... Problem still accords...

When I try to create an unbound field on my report and make the control source 
to =now() I get the following message:

There was an error compiling this function.  The Visual Basic module contains a 
syntax error.  Check the code, and them recompile it.

April


> 
> From: James LaBorde <jlaborde@xxxxxxxxx>
> Date: 2003/01/21 Tue PM 01:37:46 EST
> To: "'mso@xxxxxxxxxxxxx'" <mso@xxxxxxxxxxxxx>
> Subject: [mso] Re: Access97 Dates not Working on Report  :VSMail mx3
> 
> 
> April,
> 
> It looks like Anthony answered your question, but there is something else
> you should know.  It appears that you have a field named Date.  This can be
> very dangerous as that is one of Access's reserved words.  For some reason
> it will let you name a field with a reserved word but it causes problems
> down the road.  You may want to consider changing this field name to some
> thing more descriptive.  (I usually add a brief abbreviation to identify
> what the date is.)  
> 
> James
> 
> -----Original Message-----
> From: 4office@xxxxxxxxxxxxx [mailto:4office@xxxxxxxxxxxxx]
> Sent: Tuesday, January 21, 2003 10:16 AM
> To: mso@xxxxxxxxxxxxx
> Subject: [mso] Access97 Dates not Working on Report :VSMail mx3
> 
> 
> 
> I have a weird thing going on with a DB.... I have a report grouped by date
> - by day and the =NOW() equation will not give me the current date in the
> report header...
> 
> When I copied/paste this report with a new name to group by date - by Month
> or by quarter... not only will the =NOW() equation not give me the current
> date in the report header... but when I run the report I get an error:
> 
> Compile error in query expression '[Year[Date]*12+Month[Date]-1\1'
> 
> I can not find any where, where this equation is listed in the report...
> 
> By the way, when I tried to create a new report from scratch, grouped by
> month, and I get the same error... 
> 
> I can't find anything in VB (And I can't get to Properties pane or the other
> window that is usually on the top left when I am in Access 2k VB... I am
> having a blonde moment right now to remember what it's called.
> 
> April
> 
> *************************************************************
> You are receiving this mail because you subscribed to mso@xxxxxxxxxxxxx or
> MicrosoftOffice@xxxxxxxxxxxxxxxx
> 
> To send mail to the group, simply address it to mso@xxxxxxxxxxxxx
> 
> To Unsubscribe from this group, send an email to 
> mso-request@xxxxxxxxxxxxx?Subject=unsubscribe
> 
> Or, visit the group's homepage and use the dropdown menu.  This will also
> allow you to change your email settings to digest or vacation (no mail).
> //www.freelists.org/webpage/mso
> 
> To be able to use the files section for sharing files with the group, send a
> request to mso-moderators@xxxxxxxxxxxxx and you will be sent an invitation
> with instructions.  Once you are a member of the files group, you can go
> here to upload/download files:
> http://www.smartgroups.com/vault/msofiles
> *************************************************************
> *************************************************************
> You are receiving this mail because you subscribed to mso@xxxxxxxxxxxxx or 
> MicrosoftOffice@xxxxxxxxxxxxxxxx
> 
> To send mail to the group, simply address it to mso@xxxxxxxxxxxxx
> 
> To Unsubscribe from this group, send an email to 
> mso-request@xxxxxxxxxxxxx?Subject=unsubscribe
> 
> Or, visit the group's homepage and use the dropdown menu.  This will also 
> allow you to change your email settings to digest or vacation (no mail).
> //www.freelists.org/webpage/mso
> 
> To be able to use the files section for sharing files with the group, send a 
> request to mso-moderators@xxxxxxxxxxxxx and you will be sent an invitation 
> with instructions.  Once you are a member of the files group, you can go here 
> to upload/download files:
> http://www.smartgroups.com/vault/msofiles
> *************************************************************
> 

*************************************************************
You are receiving this mail because you subscribed to mso@xxxxxxxxxxxxx or 
MicrosoftOffice@xxxxxxxxxxxxxxxx

To send mail to the group, simply address it to mso@xxxxxxxxxxxxx

To Unsubscribe from this group, send an email to 
mso-request@xxxxxxxxxxxxx?Subject=unsubscribe

Or, visit the group's homepage and use the dropdown menu.  This will also allow 
you to change your email settings to digest or vacation (no mail).
//www.freelists.org/webpage/mso

To be able to use the files section for sharing files with the group, send a 
request to mso-moderators@xxxxxxxxxxxxx and you will be sent an invitation with 
instructions.  Once you are a member of the files group, you can go here to 
upload/download files:
http://www.smartgroups.com/vault/msofiles
*************************************************************

Other related posts: