A4 (B5 Platform) Discussion Discussion forum for the B5 Audi A4 produced from 1995-2001 B5 FAQ

(off-topic) MS Access help

Thread Tools
 
Search this Thread
 
Old 03-27-2001, 01:42 PM
  #1  
Member
Thread Starter
 
PGAudi's Avatar
 
Join Date: May 2000
Posts: 2,325
Likes: 0
Received 0 Likes on 0 Posts
Default (off-topic) MS Access help

I am trying to make Access determine the default field value of "RenewOn" based on the value of the field "JoinedOn" If I use this VB code in the expression builder, I get an error:

= dtRenewal
dtRenewal = JoinedOn
count = 0
Do Until dtRenewal > date
dtRenewal = DateAdd("yyyy", 1, dtRenewal)
count = count + 1
If count > 20 Then Exit Do
Loop

The expression you entered contains an invalid syntax
you may have entered an operand without an operator

I have never dealt with expressions in Access before, and I am somewhat confused. Using help in access doesn't do me much good. Does anyone know how to do this? Thanks taking the time to read this, and thanks in advance to anyone who attempts to help me out.
Related Topics
Thread
Thread Starter
Forum
Replies
Last Post
jamesA4
A4 (B5 Platform) Discussion
1
03-11-2010 06:51 PM
TACTICLY
Audi allroad
0
01-14-2004 10:20 AM
Respect the Cock
TT (Mk1) Discussion
6
08-02-2001 04:08 PM
harinder
S4 / RS4 (B5 Platform) Discussion
1
09-10-1999 06:49 AM
Hamakua_Boy
TT (Mk1) Discussion
0
08-07-1999 03:05 PM



Quick Reply: (off-topic) MS Access help



All times are GMT -8. The time now is 07:01 AM.