views:

36

answers:

1

What is the datatype for Color in MSAccess?

+2  A: 

Use Long Integer (stores 4 bytes) in your database field and use Color.ToArgb() to get the integer value to store. Then, use Color.FromArgb() to create a color from the stored value.

It worked. thanks! :)
Rye
I don't understand this answer. It doesn't involve Access. The Color property is a property of Access forms/reports/controls, but you're giving functions/methods for WinForms. Why would you store Access properties in a table and then use them in WinForms?
David-W-Fenton