R
Ronald Dodge
Most of the stuff I have done in Access mainly dealt with unbound forms due
to the fact that I have issues with how error checking is done. It's been a
long while since I have worked with Access and now having to get back into
it, but only this time with bound forms and controls. I am still needing to
use my custom error checking code to get around the fact that without such
code, when doing data validation on individual controls (when moving from
one control to another) as opposed to doing data validation on the whole
form (moving from one record to another record), data validation can only
either "ALWAYS" take place on individual controls or "NEVER" take place on
individual controls, thus why I have to use my custom error checking code to
get around this limitation, so as error checking and data validation on
individual controls only takes place at appropriate times. Yes, I'm a real
stickler when it comes to data validation.
At present, I'm working on setting up a standard form, but using one of the
tables as the form itself is bound to as a basis for setting up the standard
form. I have not liked some of Access' default behavior, so I'm using
certain things to modify those behaviors, most of which done via VBA.
The form has an ID field, and some other fields. The other fields should be
able to operate like normal, but the ID field has certain unique things
about it that I want it to work differently from the other fields.
The ID field is a textbox.
User can use the field to inquire on records, and it returns the record that
matchs to the value of the textbox, provided it's a valid ID value.
The ID value must not be allowed to be changed on any record as it's what
identifies the record.
For new records, Access will take care of assigning new ID values, though
the method is dependent on a table by table basis.
On this standard form, it will have 4 command buttons in the footer section,
Inquire, Add, Update, and Delete. In order to Update or Delete, one must
inquire on the record first.
Given Access uses DAO by default, I added the DAO 3.60 COM to the reference,
so as to stick to the same model, though eventually, I will also have to get
use to the ADO disconnected database model as I'm also learning more of the
..NET stuff towards my MCSD cert.
--
Sincerely,
Ronald R. Dodge, Jr.
Master MOUS 2000
to the fact that I have issues with how error checking is done. It's been a
long while since I have worked with Access and now having to get back into
it, but only this time with bound forms and controls. I am still needing to
use my custom error checking code to get around the fact that without such
code, when doing data validation on individual controls (when moving from
one control to another) as opposed to doing data validation on the whole
form (moving from one record to another record), data validation can only
either "ALWAYS" take place on individual controls or "NEVER" take place on
individual controls, thus why I have to use my custom error checking code to
get around this limitation, so as error checking and data validation on
individual controls only takes place at appropriate times. Yes, I'm a real
stickler when it comes to data validation.
At present, I'm working on setting up a standard form, but using one of the
tables as the form itself is bound to as a basis for setting up the standard
form. I have not liked some of Access' default behavior, so I'm using
certain things to modify those behaviors, most of which done via VBA.
The form has an ID field, and some other fields. The other fields should be
able to operate like normal, but the ID field has certain unique things
about it that I want it to work differently from the other fields.
The ID field is a textbox.
User can use the field to inquire on records, and it returns the record that
matchs to the value of the textbox, provided it's a valid ID value.
The ID value must not be allowed to be changed on any record as it's what
identifies the record.
For new records, Access will take care of assigning new ID values, though
the method is dependent on a table by table basis.
On this standard form, it will have 4 command buttons in the footer section,
Inquire, Add, Update, and Delete. In order to Update or Delete, one must
inquire on the record first.
Given Access uses DAO by default, I added the DAO 3.60 COM to the reference,
so as to stick to the same model, though eventually, I will also have to get
use to the ADO disconnected database model as I'm also learning more of the
..NET stuff towards my MCSD cert.
--
Sincerely,
Ronald R. Dodge, Jr.
Master MOUS 2000