Continuous Forms Unbound detail

  • Thread starter Thread starter Marcel K.
  • Start date Start date
M

Marcel K.

Greetings - I have several rows with unbound text boxes
representing a row in unbound detail section of form. User
can update the text box values, how is it that I can take
that data and update records based on entered values. Each
text box represents a day for input (mon - tues -wed,
etc.)..If the user has 3 projects, then there are three
rows, input their time accordingly then save...Problem is
how to identify which row for update, etc.

Again the form is unbound. Thanks in advance for your
input.

Marcel K.
 
Marcel said:
Greetings - I have several rows with unbound text boxes
representing a row in unbound detail section of form. User
can update the text box values, how is it that I can take
that data and update records based on entered values. Each
text box represents a day for input (mon - tues -wed,
etc.)..If the user has 3 projects, then there are three
rows, input their time accordingly then save...Problem is
how to identify which row for update, etc.

Again the form is unbound. Thanks in advance for your
input.


This is confusing since an unbound form can not be in
"Continuous" view.

Without a good understanding of what you're trying to do,
I'll just toss out a couple of ideas. You can use the
control's AfterUpdate event to make note of which "row" it
is in. If you're making controls visible or not depending
on how many "projects" are involved, then you should name
the controls using the "row" number as a suffix (e.g.
txtMon1, txtMon2,...) so a generic event procedure can
identify the control using Me.ActiveControl.Name from wich
you can extract the "row" number.
 
Back
Top