Macro to insert running date field

Joelyue

Registered User.
Local time
Tomorrow, 03:21
Joined
Mar 16, 2007
Messages
18
How do i program a macro to insert dates into a date field in an increasing sequence?

example.
ID Date
1 20/5/2008
2 21/5/2008
3 22/5/2008
..........
 
How do i program a macro to insert dates into a date field in an increasing sequence?

example.
ID Date
1 20/5/2008
2 21/5/2008
3 22/5/2008
..........

I dont know if this is what you are looking for

user SETVALUE macro and set the [fieldname] = Now()

ie:
Item : [fieldname1]
Expression : Now()

Item : [fieldname2]
Expression : Now()+1

Item : [fieldname3]
Expression : Now()+2

PS - instead of Now() you can also use Date()...... Now adds the time.

Hopes this helps
 

Users who are viewing this thread

Back
Top Bottom