P
Phill
OK here goes. I am a fairly advanced programmer, but I am having problems
with this one.
I have built a form that is a working two week time span (10 days)
Monday-Friday 2x.
Next I am using a continuous form to show data from a query, now comes the
interesting part.
I want to position one field's control (JobID) under one of the dates (a
left position of 1", 2" etc. depending on the date) and I want the width of
the field to be multiplied by the number of days the items is to exist (both
fields that are returned in my query).
I can get the width to work, but it applies the same width to all items in
the collection, not each item.
(I know I need to iterate though the controls, but how do I get to the one I
need? The JobID)
Also I am having no success with moving the control left or right. I am
using the following code, currently I have it attached to the OnClick event
for the field. I would like to move it to a button when the iteration is
working properly.
Me.JobID.Width = (Me.JobID.Width * Me.HowWide)
Me.JobID.Left = (Me.JobID.Left * Me.StartPOS)
Any help would be greatly appreciated.
with this one.
I have built a form that is a working two week time span (10 days)
Monday-Friday 2x.
Next I am using a continuous form to show data from a query, now comes the
interesting part.
I want to position one field's control (JobID) under one of the dates (a
left position of 1", 2" etc. depending on the date) and I want the width of
the field to be multiplied by the number of days the items is to exist (both
fields that are returned in my query).
I can get the width to work, but it applies the same width to all items in
the collection, not each item.
(I know I need to iterate though the controls, but how do I get to the one I
need? The JobID)
Also I am having no success with moving the control left or right. I am
using the following code, currently I have it attached to the OnClick event
for the field. I would like to move it to a button when the iteration is
working properly.
Me.JobID.Width = (Me.JobID.Width * Me.HowWide)
Me.JobID.Left = (Me.JobID.Left * Me.StartPOS)
Any help would be greatly appreciated.