Storing a variable between sessions

G

Guest

I'm building a membership database for a small Sports Club. we have a fixed
membership year from 1st April to 31st March. I want to have a variable
describing the current membership year e.g 2004 that I can carry over between
sessions.

I can't use the date as in February/March we prepare for the next year e.g
sending out invoices but may still have members choosing to join for the last
month of the previous year.
 
D

david epsom dot com dot au

:~) That's what a database is for.

Create a table, something like tbl_Options, and
use it to store odd bits of persistent data.
Then you can lookup the value when you want:

vDate = dLookup("MemberYearDate","tbl_Options")

and you can use also the table (and the membership
year) in any query.

(david)
 
G

Guest

NeilH said:
I'm building a membership database for a small Sports Club. we have a fixed
membership year from 1st April to 31st March. I want to have a variable
describing the current membership year e.g 2004 that I can carry over between
sessions.

I can't use the date as in February/March we prepare for the next year e.g
sending out invoices but may still have members choosing to join for the last
month of the previous year.

You will need to create a table to store it in.
gm
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top