creating table and feilds

didgydont

Active member
Joined
Mar 2, 2009
Messages
37
Programming Experience
Beginner
hi all
im trying to create new table in a mdb so far it creates the fields but as the
wrong data type i would like to set price as a currency with genral formatting are there any guids on data types to suit this code ?
VB.NET:
Conn.Execute("CREATE TABLE Records(TransID INTEGER NOT NULL,Item VARCHAR(40) NOT NULL,Price CURRENCY NOT NULL,Sold DATE  NOT NULL)")
 
Last edited:
it was making currency but i was afraid the $symbol in access would affect vb so it is fine as it is thank you for your reply
 

Latest posts

Back
Top