"Fox" wrote in message news:eW**************@TK2MSFTNGP14.phx.gbl...
: Note that there are 103 fields to
: be remembered for each registrant.
: This means that I have to keep each
: of them in memory, related by their
: family ID, until the credit card check
: out. Then each is committed as a
: separate record. I am told by the
: hosts of the server, that they want
: me to use the dictionary to limit the
: accessing of the database to only
: when necessary. Otherwise I would
: commit all the data to the database and
: then enable the record if the payment
: was successful. But, I am not allowed
: to do this.
:
: Regards,
: Fox
:
: "Ray Costanzo [MVP]" <my first name at lane 34 dot commercial> wrote in
: message news:e5**************@TK2MSFTNGP09.phx.gbl...
: > Dictionaries cannot contain dictionaries. You can have an array of
: > dictionaries though. But why are you using all these dictionaries? Do
: you
: > work at an insurance company in SE Pennsylvania, by chance?
: >
: > Ray at work
: >
: > "Fox" <fox @ connexions.net> wrote in message
: > news:Ox**************@TK2MSFTNGP14.phx.gbl...
: > > Hi,
: > >
: > > I am working on a project which
: > > used dictionaries. I am having
: > > to remake part of this and have
: > > no experience with the
: > > scripting dictionary.
: > >
: > > I need to see how to create multiple
: > > dictionaries within one dictionary.
: > > Can someone point me to some
: > > reading materials on this where I
: > > might see an example as well?
If you're keys for each dictionary are 1-103 with the associated answer in
the items, the dictionaries are indexed for each registrant, you can keep
track of the indexed dictionaries in a variable as a counter.
Most likely the payment portion should be in it's own dictionary.
dx = dictionary
Ex.
d0 = Payment information. ' dictionary 0
d1 = First registrant ' dictionary 1
d2 = Second registrant ' dictionary 2
ndx = 2 ' variable to hold registrant index
ndx will be 1 for only 1 person and x for x number of persons being
registered all being paid for by the same credit card.
Not see code makes it difficult but this is a simple possibility if it will
work with your code.
--
Roland Hall
/* This information is distributed in the hope that it will be useful, but
without any warranty; without even the implied warranty of merchantability
or fitness for a particular purpose. */
Technet Script Center -
http://www.microsoft.com/technet/scriptcenter/
WSH 5.6 Documentation -
http://msdn.microsoft.com/downloads/list/webdev.asp
MSDN Library -
http://msdn.microsoft.com/library/default.asp