Hi,

Is there a way to design Label files (Label Definition Files)
programmatically?
I would like to create labels on the fly through a program (define margins,
no of columns etc)?

Demetrios, Greece

Re: Label Design by Fred

Fred
Thu Sep 11 23:41:32 CDT 2003

A label file is really just another name for a Fox table. You can open it
up manually and see the structure and the contents by:

USE yourlabel.LBX

From then on it's an ordinary table, so yes, you can create what you need on
the fly. I do believe there is a document that describes the fields in more
detail in the Tools\FileSpec folder under your VFP installation.


--

Fred
Microsoft Visual FoxPro MVP
Please respond only to the newsgroups so that all may benefit.


Demetrios Panayotakopoulos wrote:
> Hi,
>
> Is there a way to design Label files (Label Definition Files)
> programmatically?
> I would like to create labels on the fly through a program (define
> margins, no of columns etc)?
>
> Demetrios, Greece


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.515 / Virus Database: 313 - Release Date: 9/1/2003



Re: Label Design by Demetrios

Demetrios
Fri Sep 12 04:24:06 CDT 2003

Hi Fred,

I know that is a table.
But it is very hard to identify what all these records and fields mean.
I have to do a lot of tries and recod what happens whenever I change
something.

Thanks anyway.

Demetrios, Greece

"Fred Taylor" <ftaylor@mvps.org> wrote in message
news:OSEefgOeDHA.560@tk2msftngp13.phx.gbl...
> A label file is really just another name for a Fox table. You can open it
> up manually and see the structure and the contents by:
>
> USE yourlabel.LBX
>
> From then on it's an ordinary table, so yes, you can create what you need
on
> the fly. I do believe there is a document that describes the fields in
more
> detail in the Tools\FileSpec folder under your VFP installation.
>
>
> --
>
> Fred
> Microsoft Visual FoxPro MVP
> Please respond only to the newsgroups so that all may benefit.
>
>
> Demetrios Panayotakopoulos wrote:
> > Hi,
> >
> > Is there a way to design Label files (Label Definition Files)
> > programmatically?
> > I would like to create labels on the fly through a program (define
> > margins, no of columns etc)?
> >
> > Demetrios, Greece
>
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.515 / Virus Database: 313 - Release Date: 9/1/2003
>
>



Re: Label Design by Demetrios

Demetrios
Fri Sep 12 09:58:31 CDT 2003

Thank you Lee.
I always forget about these files that describe the structures.

Demetrios, Greece

"Lee Mitchell" <Leemi@microsoft.com> wrote in message
news:$eQV$RTeDHA.212@cpmsftngxa06.phx.gbl...
> Hi Demetrios:
>
> Fred is correct. You cannot programmatically create a label form. The
> label form is a table created by the Label Designer.
>
> For more information on the structure of the label and report files, see
> 60frx1.frx and 60frx2.frx located in the Tools\FileSpec folder. Also, you
> might want to check out Chapter 11 of Cathy Pountney's book The Visual
> FoxPro Report Writer: Pushing it to the Limit and Beyond. This chapter
> discusses modifying the fields and records of the FRX file.
>
> I hope this helps.
>
> This posting is provided "AS IS" with no warranties, and confers no
rights.
>
> Sincerely,
> Microsoft FoxPro Technical Support
> Lee Mitchell
>
> *-- VFP8 HAS ARRIVED!! --*
> Read about all the new features of VFP8 here:
> http://www.universalthread.com/VisualFoxPro/News/VFP8Release.asp
> Purchase VFP8 here:
> http://shop.microsoft.com/Referral/Productinfo.asp?siteID=11518
>
> Keep an eye on the product lifecycle for Visual FoxPro here:
> http://support.microsoft.com/default.aspx?id=fh;[ln];lifeprodv
> - VFP5 Mainstream Support retires June 30th, 2003
> - VFP6 Mainstream Support retires Sept. 30th, 2003
>
>
> >Hi Fred,
>
> >I know that is a table.
> >But it is very hard to identify what all these records and fields mean.
> >I have to do a lot of tries and recod what happens whenever I change
> >something.
>
> >Thanks anyway.
>
> >Demetrios, Greece
>
> >"Fred Taylor" <ftaylor@mvps.org> wrote in message
> >news:OSEefgOeDHA.560@tk2msftngp13.phx.gbl...
> > A label file is really just another name for a Fox table. You can open
it
> > up manually and see the structure and the contents by:
> >
> > USE yourlabel.LBX
> >
> > From then on it's an ordinary table, so yes, you can create what you
need
> on
> > the fly. I do believe there is a document that describes the fields in
> more
> > detail in the Tools\FileSpec folder under your VFP installation.
> >
> >
> > --
> >
> > Fred
> > Microsoft Visual FoxPro MVP
> > Please respond only to the newsgroups so that all may benefit.
> >
> >
> > Demetrios Panayotakopoulos wrote:
> > > Hi,
> > >
> > > Is there a way to design Label files (Label Definition Files)
> > > programmatically?
> > > I would like to create labels on the fly through a program (define
> > > margins, no of columns etc)?
> > >
> > > Demetrios, Greece
>
>



Re: Label Design by Fred

Fred
Fri Sep 12 10:00:56 CDT 2003

Lee, I do believe I said that you *could* programmatically create a label
file, because it is just a table. Thanks for pointing out the specific
files to look at for the content.


--

Fred
Microsoft Visual FoxPro MVP
Please respond only to the newsgroups so that all may benefit.





Lee Mitchell wrote:
> Hi Demetrios:
>
> Fred is correct. You cannot programmatically create a label form.
> The label form is a table created by the Label Designer.
>
> For more information on the structure of the label and report files,
> see 60frx1.frx and 60frx2.frx located in the Tools\FileSpec folder.
> Also, you might want to check out Chapter 11 of Cathy Pountney's book
> The Visual FoxPro Report Writer: Pushing it to the Limit and Beyond.
> This chapter discusses modifying the fields and records of the FRX
> file.
>
> I hope this helps.
>
> This posting is provided "AS IS" with no warranties, and confers no
> rights.
>
> Sincerely,
> Microsoft FoxPro Technical Support
> Lee Mitchell
>
> *-- VFP8 HAS ARRIVED!! --*
> Read about all the new features of VFP8 here:
> http://www.universalthread.com/VisualFoxPro/News/VFP8Release.asp
> Purchase VFP8 here:
> http://shop.microsoft.com/Referral/Productinfo.asp?siteID=11518
>
> Keep an eye on the product lifecycle for Visual FoxPro here:
> http://support.microsoft.com/default.aspx?id=fh;[ln];lifeprodv
> - VFP5 Mainstream Support retires June 30th, 2003
> - VFP6 Mainstream Support retires Sept. 30th, 2003
>
>
>> Hi Fred,
>
>> I know that is a table.
>> But it is very hard to identify what all these records and fields
>> mean.
>> I have to do a lot of tries and recod what happens whenever I change
>> something.
>
>> Thanks anyway.
>
>> Demetrios, Greece
>
>> "Fred Taylor" <ftaylor@mvps.org> wrote in message
>> news:OSEefgOeDHA.560@tk2msftngp13.phx.gbl...
>> A label file is really just another name for a Fox table. You can
>> open it up manually and see the structure and the contents by:
>>
>> USE yourlabel.LBX
>>
>> From then on it's an ordinary table, so yes, you can create what you
>> need on the fly. I do believe there is a document that describes
>> the fields in more detail in the Tools\FileSpec folder under your
>> VFP installation.
>>
>>
>> --
>>
>> Fred
>> Microsoft Visual FoxPro MVP
>> Please respond only to the newsgroups so that all may benefit.
>>
>>
>> Demetrios Panayotakopoulos wrote:
>>> Hi,
>>>
>>> Is there a way to design Label files (Label Definition Files)
>>> programmatically?
>>> I would like to create labels on the fly through a program (define
>>> margins, no of columns etc)?
>>>
>>> Demetrios, Greece


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.515 / Virus Database: 313 - Release Date: 9/1/2003