|
-
Jan 4th, 2000, 11:08 PM
#1
Thread Starter
Lively Member
Using VB6.0 and an Access database, I'm faced with the possibility of having a blank field which gives me a null value error. How can I solve this? I've tried putting "" as a default value but this doesn't work.
Thanks,
casox
-
Jan 5th, 2000, 01:33 AM
#2
Member
You can check null value with IsNull(rsCustomer("Addr2")), or use Text1 = rsCustomer("Addr2") & "" to avoid null error.
Joon
-
Jan 5th, 2000, 02:18 AM
#3
Guru
If you want to allow a null value in your Access database, set the "ALLOW NULLS" property of the field to TRUE. You can do this in MS Access.
-
Jan 5th, 2000, 05:41 AM
#4
Hyperactive Member
form.txtField=format(rs("Field"))
Using this automatically changes a null to ""
------------------
CompuGEEK
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|