
Data Control/database object which is better ?
Quote:
>I have a little question about the way of using the database in my
>program, as there are two ways of implementing them, so I am a bit
>confused, so if any one can give me some suggestion I will be
>appreciated.
The data objects are by far the way to go. They give you more control in
your own code over what happens and you avoid the data controls firing
events when you don't want them to. You end up with a net simplification
of your code because you're not fighting the data controls all the time.
Just watch out for the invalid use of null the the data controls tend to
hide from you. Append & "" to all string fields returned before
assigning to a box or variable. Check other field types with IsNull
before assignment.
--