Wrox Programmer Forums
|
VB Databases Basics Beginning-level VB coding questions specific to using VB with databases. Issues not specific to database use will be redirected to other forums.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB Databases Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old November 8th, 2005, 05:05 AM
Registered User
 
Join Date: Nov 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default how to save an array to database

hi!

i want to know how to save an array to database.
this is the code im using

rsS2.Open "SELECT * FROM Competencies where Occupation_Title = '" & txtoccp.Text & "'", cn1, adOpenKeyset, adLockOptimistic
    rsS2.AddNew Array("Occupation_Title", "Competencies", "Code"), Array(txtoccp, competency1, code1)
    rsS2.Update

it work ok but two fields in the database are empty:Competencies & Code
competency1 and code1 are textbox control array,they're suppose to handle the array to be save in the database.this is where i need some help.where to put the array.

thanks

mareynell a. cagalitan





Similar Threads
Thread Thread Starter Forum Replies Last Post
i cannot save to my database knightneo Beginning PHP 3 January 29th, 2007 08:06 AM
unable to save to SQL database Gret C# 2005 4 July 31st, 2006 05:33 AM
save database kim VB How-To 3 April 2nd, 2006 09:26 AM
save database kim Visual Basic 2005 Basics 0 March 20th, 2006 04:34 PM
How to get File type before save to database monika_jain_99 J2EE 0 July 9th, 2003 07:12 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.