|
-
Dec 19th, 2002, 06:34 AM
#3
Addicted Member
Code Book
G'day
Sorry for the slow response. I think its a great idea. I have a quite a lot of functions and subs that I have developed over the years (VB3 - Vb.Net from '92-now). I need some time to rummage thru them and find what may be of benefit. eg the dreaded 'invalid use of null' error when setting controls from Data Base Fields that contain Null.
I have one line functions called ToNum & ToStr which get rid of the error.
to use - txt.text=ToStr(FieldName) instead of txt.text= Fieldname solves the problem - is this the sort of stuff you are after ??
Im sure most experienced progs have their own way of solving this MS pain in the bum but it may help some newbies - I have seen posts for the same error.
pls let me know - maybe I could email you code and you decide what you need to include rather than posting it thru the forum
regards
BH
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
|