From: Ant on
Hi Peter,

I am trying to decipher the code. I am using you "frmTimeSheet" form which
seems to best suit my needs.

I entered the Design View and tried to copy flexigrid subform to a form in
my own database. This did not work. I then tried importing the entire form
and this did not work either.

The error message I receive is as follows:

"You do not have the licence required to use this ActiveX Control.

You tried to open a form containing an OLE object or an ActiveX Control or
you tried to create an ActiveX Control.

To obtain the appropriate licence, contact the company that provides the
licenced OLE object or ActiveX Control."

Where do I get this lincence? Is this not part of Access?

Hope you can help.

Regards
Ant

"Peter Hibbs" wrote:

> Ant,
>
> That is a shame then. Do you mean that writing VBA code is 'well
> beyond your capabilities', if so then perhaps it is time to study VBA
> (it's not difficult) and you will be able to do a lot lot more in
> Access when you have mastered it.
>
> If you mean that programming the Flex Grid control is 'beyond your
> capabilities' then perhaps this Web site will help -
>
> http://msdn.microsoft.com/en-us/library/aa228849%28v=VS.60%29.aspx
>
> Good luck.
>
> Peter Hibbs.
>
> On Thu, 27 May 2010 13:19:28 -0700, Ant
> <Ant(a)discussions.microsoft.com> wrote:
>
> >Hi Peter,
> >
> >Thank you for your response.
> >
> >I have downloaded the Flexgrid demo and perused the VB Code.
> >
> >Unfortunately this is well beyond my capabilities.
> >
> >Regards
> >Ant
> >
> >
> >"Peter Hibbs" wrote:
> >
> >> Ant,
> >>
> >> It sounds to me as if it would be simpler to use a single Flex Grid
> >> ActiveX control instead of all those separate fields (boxes) on your
> >> form. Have a look at the Flex Grid Demo at :-
> >>
> >> http://www.rogersaccesslibrary.com/forum/forum_topics.asp?FID=21&SID=5debzz2c87c6957859f13b1d2zcccfb4
> >>
> >> for some examples. You will need to write some VBA code to do this
> >> though.
> >>
> >> HTH.
> >>
> >> Peter Hibbs.
> >>
> >> On Fri, 21 May 2010 16:57:01 -0700, Ant
> >> <Ant(a)discussions.microsoft.com> wrote:
> >>
> >> >Hello,
> >> >
> >> >I am using Access 2007 on a Vista machine. The database I am designing is in
> >> >the 2007 format.
> >> >
> >> >I have a form that uses the Tabular type of Control Layout with Labels in
> >> >the Form Header and data in the Details Section of the form. There are 16
> >> >Label and data boxes and the data is numerical.
> >> >
> >> >The two things I am trying to accomplish are:
> >> >
> >> >1. In the Form Footer I have added 16 boxes which total each column. I am
> >> >now trying to add each of these boxes into the grouping so that it is linked
> >> >to its parent Label and Data boxes which makes it easier to size the boxes
> >> >and to re-arrange the form.
> >> >
> >> >2. In the Form header, I have added more labels that are like "headings" for
> >> >groups of data. For exampe, there are two columns titled "Day" and "Night". I
> >> >have placed on top of those two labels another box titled "Command". I want
> >> >to link that heading box to the Day/Night boxes.
> >> >
> >> >I am trying to do this because it is becoming quite time consuming trying to
> >> >correctly size up and align these new boxes. Also when I re-arrange my
> >> >layout, it is becoming frustrating trying to realign the extra boxes.
> >> >
> >> >Any suggestions will be greatly appreciated.
> >> >
> >> >Regards
> >> >Ant
> >> .
> >>
> .
>
From: Peter Hibbs on
Hi Ant,

Glad to see you are trying this out.

Regarding the license problem, if you have a look at the Word document
(Using the Flex Grid Control in Microsoft Access.doc) that comes with
the demo, the References section near the end of the document explains
the procedure.

If you still have problems then post back.

Peter Hibbs.

On Mon, 31 May 2010 18:57:01 -0700, Ant
<Ant(a)discussions.microsoft.com> wrote:

>Hi Peter,
>
>I am trying to decipher the code. I am using you "frmTimeSheet" form which
>seems to best suit my needs.
>
>I entered the Design View and tried to copy flexigrid subform to a form in
>my own database. This did not work. I then tried importing the entire form
>and this did not work either.
>
>The error message I receive is as follows:
>
>"You do not have the licence required to use this ActiveX Control.
>
>You tried to open a form containing an OLE object or an ActiveX Control or
>you tried to create an ActiveX Control.
>
>To obtain the appropriate licence, contact the company that provides the
>licenced OLE object or ActiveX Control."
>
>Where do I get this lincence? Is this not part of Access?
>
>Hope you can help.
>
>Regards
>Ant
>
>"Peter Hibbs" wrote:
>
>> Ant,
>>
>> That is a shame then. Do you mean that writing VBA code is 'well
>> beyond your capabilities', if so then perhaps it is time to study VBA
>> (it's not difficult) and you will be able to do a lot lot more in
>> Access when you have mastered it.
>>
>> If you mean that programming the Flex Grid control is 'beyond your
>> capabilities' then perhaps this Web site will help -
>>
>> http://msdn.microsoft.com/en-us/library/aa228849%28v=VS.60%29.aspx
>>
>> Good luck.
>>
>> Peter Hibbs.
>>
>> On Thu, 27 May 2010 13:19:28 -0700, Ant
>> <Ant(a)discussions.microsoft.com> wrote:
>>
>> >Hi Peter,
>> >
>> >Thank you for your response.
>> >
>> >I have downloaded the Flexgrid demo and perused the VB Code.
>> >
>> >Unfortunately this is well beyond my capabilities.
>> >
>> >Regards
>> >Ant
>> >
>> >
>> >"Peter Hibbs" wrote:
>> >
>> >> Ant,
>> >>
>> >> It sounds to me as if it would be simpler to use a single Flex Grid
>> >> ActiveX control instead of all those separate fields (boxes) on your
>> >> form. Have a look at the Flex Grid Demo at :-
>> >>
>> >> http://www.rogersaccesslibrary.com/forum/forum_topics.asp?FID=21&SID=5debzz2c87c6957859f13b1d2zcccfb4
>> >>
>> >> for some examples. You will need to write some VBA code to do this
>> >> though.
>> >>
>> >> HTH.
>> >>
>> >> Peter Hibbs.
>> >>
>> >> On Fri, 21 May 2010 16:57:01 -0700, Ant
>> >> <Ant(a)discussions.microsoft.com> wrote:
>> >>
>> >> >Hello,
>> >> >
>> >> >I am using Access 2007 on a Vista machine. The database I am designing is in
>> >> >the 2007 format.
>> >> >
>> >> >I have a form that uses the Tabular type of Control Layout with Labels in
>> >> >the Form Header and data in the Details Section of the form. There are 16
>> >> >Label and data boxes and the data is numerical.
>> >> >
>> >> >The two things I am trying to accomplish are:
>> >> >
>> >> >1. In the Form Footer I have added 16 boxes which total each column. I am
>> >> >now trying to add each of these boxes into the grouping so that it is linked
>> >> >to its parent Label and Data boxes which makes it easier to size the boxes
>> >> >and to re-arrange the form.
>> >> >
>> >> >2. In the Form header, I have added more labels that are like "headings" for
>> >> >groups of data. For exampe, there are two columns titled "Day" and "Night". I
>> >> >have placed on top of those two labels another box titled "Command". I want
>> >> >to link that heading box to the Day/Night boxes.
>> >> >
>> >> >I am trying to do this because it is becoming quite time consuming trying to
>> >> >correctly size up and align these new boxes. Also when I re-arrange my
>> >> >layout, it is becoming frustrating trying to realign the extra boxes.
>> >> >
>> >> >Any suggestions will be greatly appreciated.
>> >> >
>> >> >Regards
>> >> >Ant
>> >> .
>> >>
>> .
>>