-
Jan 10th, 2000, 11:44 AM
#1
Thread Starter
Addicted Member
How would I save data in listbox format in an access database? Ive tried a number of things, but no luck...thanks
-
Jan 10th, 2000, 12:00 PM
#2
Guru
Do you want to use ADO or DAO? Why not save to registry?
-
Jan 10th, 2000, 11:45 PM
#3
Thread Starter
Addicted Member
DAO and, I dont want to save to registry because I need the info in a database
-
Jan 11th, 2000, 05:29 AM
#4
Thread Starter
Addicted Member
Thanks, but what i need to do, is when your inside Access(making the database) you can choose what type you want the data to be saved as Eg.
Text
Button
Checkbox
Listbox
The normal is text, i have gotten checkbox to work, but not listbox, any help?
-
Jan 11th, 2000, 12:15 PM
#5
Hyperactive Member
What exactly do you mean 'Save data in a listbox forat to database'? Do you mean you want all the data in a list box saved into a database? Each in a seperate field or all data into 1 field?
If you want to take all the data from a list box and save into 1 field in a database, I would set up a loop to cycle through the entries, add chr(34)-" on either side, and seperate by commas and dump into a string. Then write this string into the database field.--> string = "data1","data2" etc.
If this isn't what you mean, can you be more specific?
[This message has been edited by netSurfer (edited 01-11-2000).]
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|