Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21278

[RESOLVED] Create fields

$
0
0
Hi

I have written the below code

sql = "ALTER TABLE cust ADD COLUMN ctype TEXT (1)"
cnn.Execute sql

MsgBox ("Fields Successfully created !")

I want if field already exists then it should give message "Field Already created"

Thanks

Viewing all articles
Browse latest Browse all 21278

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>