Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Define a defult value

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
Hello All:

I'm trying to define a defult value that is automatically entered in a field. The data type of the exsiting field is smallint, if I want to set a defult value to "No Infor" which is not a constent, does anyone know how to do it?

Thanks in advance.

Kathy
 
You're not going to be able to have Text information in a SmallInt datatype field. You will need to either change the datatype of the field in the main table, or change your default value you're wanting.

To set a default value, you set it in the actual table structure. Roy
aka BanditWk
Las Vegas, NV
roy@cccamerica.org
RLMBandit@aol.com (private)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top