PC Review


Reply
Thread Tools Rate Thread

array data type in table?

 
 
djw
Guest
Posts: n/a
 
      29th Oct 2008
I am pretty new to Access/VBA and do not really know SQL. I was
wondering if it is possible to use an array data type in a table?

I saw something online using SQL that was along these lines (in SQL
For Dummies):
CREATE TABLE CUSTOMER ( CustID INTEGER PRIMARY KEY, Phone CHARACTER
VARYING (15) ARRAY [3]);

I can create a table and fields using VBA & SQL but I cannot seem to
get an Array to work.

Thanks,
David
 
Reply With Quote
 
 
 
 
John W. Vinson
Guest
Posts: n/a
 
      29th Oct 2008
On Wed, 29 Oct 2008 11:05:50 -0700 (PDT), djw <(E-Mail Removed)>
wrote:

>I am pretty new to Access/VBA and do not really know SQL. I was
>wondering if it is possible to use an array data type in a table?
>
>I saw something online using SQL that was along these lines (in SQL
>For Dummies):
>CREATE TABLE CUSTOMER ( CustID INTEGER PRIMARY KEY, Phone CHARACTER
>VARYING (15) ARRAY [3]);
>
>I can create a table and fields using VBA & SQL but I cannot seem to
>get an Array to work.
>
>Thanks,
>David


Access2007 (but not prior versions) allows an abomination called a MultiValue
Field. This code *might* be relevant to such a field, though I have not seen
code like it before; it would be interesting to know the context.

A multivalue field is actually implemented "under the covers" with a proper
one-to-many relationship to a second table; unfortunately that table isn't
exposed either in user view or programmatically, without a whole bunch of
rigamarole. Most serious developers would avoid ever using such a field.
--

John W. Vinson [MVP]
 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Declaring Data Type of Array tfischer@mad.scientist.com Microsoft Excel Programming 8 7th Feb 2006 05:53 AM
Assign an Array a data type =?Utf-8?B?QnJhZA==?= Microsoft Access VBA Modules 3 4th Feb 2006 09:12 PM
Checking the type of data in an array =?Utf-8?B?TWF1cnkgTWFya293aXR6?= Microsoft Access 3 5th Feb 2005 03:54 AM
array data type anjem Microsoft Excel Misc 3 15th Jun 2004 07:56 PM
WSDL generates array rather than data type Rick Microsoft Dot NET Framework 0 20th Feb 2004 08:26 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:32 PM.