Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Store data in an application

Status
Not open for further replies.

JONBOY74

Technical User
Sep 11, 2001
36
0
0
US
Hi all

Sorry if this is a stupid request....

I would like to store list of data from a recordset in an app I'm trying to build, and use it at a later date.

I've been trying with arrays....is this the way forward?

Any help would be use full

PS I only want to open the rs once (on open)
 
How much data are we talking about?
Will it ever change?
When you say 'use it at a later date' what exactly do you mean?

With these answers we may be able to help Let me know if this helps
________________________________________________________________
If you want to get the best response to a question, please check out FAQ222-2244 first

'There are 10 kinds of people in the world: those who understand binary, and those who don't.'
 
I'm looking to store 2 to 3 list of data consisting of about 10 items within the code.

When I click a button relating to the required list that data populates a combo box. If I click another button then the same combo box is populated by data from one of the other lists ( and the old info is cleared)

The list sizes can be increased & decreased in the database. The idea is that when then apps is load the rs is run, data retrieved and the closed

Does that help???
 
"The idea is that when then apps is load the rs is run, data retrieved and the closed"

Seems like you answered your own question. If the data for your list exists in the database then theere is no need to store it elsewhere. As you said, when the app is loading use a recordset object to get the data and populate your list. Repeat with different data when a buton is clicked. Thanks and Good Luck!

zemp
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top