PC Review


Reply
Thread Tools Rate Thread

"Drawing" on a Form

 
 
LeLe
Guest
Posts: n/a
 
      8th Jan 2008
I am using reports to create work tickets. Our production crew is greatly
helped by drawings and so far I have been able to create box type figures for
pillows, and drapes. I id these as pillowfig, drapefig, and make them
visible or not depending on the item selected in the order entry form.

I am now trying to add a bedspread figure. This is more complex, and
requires grouping several lines together. this is is easy enough, but I need
to be able to name the resultant figure so I can refer to it in my code. So
far all I get when I click on the item's properties is "multiple selection"
and I can't seem to name the "Figure". Is this just the way it is, or am I
missing something?

I don't want to scan and Import a BMP image, because I will not be able to
specify measurements on the "inside" of the drawing.

Any help is appreciated. Thanks
 
Reply With Quote
 
 
 
 
Tom van Stiphout
Guest
Posts: n/a
 
      8th Jan 2008
On Mon, 7 Jan 2008 19:04:00 -0800, LeLe
<(E-Mail Removed)> wrote:

Perhaps you could use a naming convention: each element of your figure
starts with "figXXX", with XXX being a 3-digit number for each figure.
Beadspread elements could be prefixed with fig003 for example, and
future bedskirt elements could be fig004.
Then you could write code (off the top of my head):
Sub ShowFigure(byval strFigurePrefix as string, byVal blnShowFigure as
Boolean)
dim ctl as Control
for each ctl in Me.Controls
if left$(ctl.name,6) = strFigurePrefix then
ctl.Visible = blnShowFigure
end if
next

You call this from Report_Open:
ShowFigure "fig003", True

-Tom.


>I am using reports to create work tickets. Our production crew is greatly
>helped by drawings and so far I have been able to create box type figures for
>pillows, and drapes. I id these as pillowfig, drapefig, and make them
>visible or not depending on the item selected in the order entry form.
>
>I am now trying to add a bedspread figure. This is more complex, and
>requires grouping several lines together. this is is easy enough, but I need
>to be able to name the resultant figure so I can refer to it in my code. So
>far all I get when I click on the item's properties is "multiple selection"
>and I can't seem to name the "Figure". Is this just the way it is, or am I
>missing something?
>
>I don't want to scan and Import a BMP image, because I will not be able to
>specify measurements on the "inside" of the drawing.
>
>Any help is appreciated. Thanks

 
Reply With Quote
 
LeLe
Guest
Posts: n/a
 
      8th Jan 2008
Thanks Tom.
I wil try you suggestion.



"Tom van Stiphout" wrote:

> On Mon, 7 Jan 2008 19:04:00 -0800, LeLe
> <(E-Mail Removed)> wrote:
>
> Perhaps you could use a naming convention: each element of your figure
> starts with "figXXX", with XXX being a 3-digit number for each figure.
> Beadspread elements could be prefixed with fig003 for example, and
> future bedskirt elements could be fig004.
> Then you could write code (off the top of my head):
> Sub ShowFigure(byval strFigurePrefix as string, byVal blnShowFigure as
> Boolean)
> dim ctl as Control
> for each ctl in Me.Controls
> if left$(ctl.name,6) = strFigurePrefix then
> ctl.Visible = blnShowFigure
> end if
> next
>
> You call this from Report_Open:
> ShowFigure "fig003", True
>
> -Tom.
>
>
> >I am using reports to create work tickets. Our production crew is greatly
> >helped by drawings and so far I have been able to create box type figures for
> >pillows, and drapes. I id these as pillowfig, drapefig, and make them
> >visible or not depending on the item selected in the order entry form.
> >
> >I am now trying to add a bedspread figure. This is more complex, and
> >requires grouping several lines together. this is is easy enough, but I need
> >to be able to name the resultant figure so I can refer to it in my code. So
> >far all I get when I click on the item's properties is "multiple selection"
> >and I can't seem to name the "Figure". Is this just the way it is, or am I
> >missing something?
> >
> >I don't want to scan and Import a BMP image, because I will not be able to
> >specify measurements on the "inside" of the drawing.
> >
> >Any help is appreciated. Thanks

>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Field Names: "LongName", "ShortName", "Code", "Description","Comments" PeteCresswell Microsoft Access 2 25th Feb 2009 11:41 PM
<FORM METHOD="post" onSubmit="return fieldcheck()" name="orientation" action="http://ws-kitty.BU.edu/AT/survey/orientation/script/write.asp" language="JavaScript"> Joeyej Microsoft ASP .NET 0 4th Jun 2004 08:55 PM
Manual "Windows Update" produces "ActiveX/active scripting" error message even with "LOW" security level setting in "Trusted" Zone Ray2 Windows XP Help 1 14th Nov 2003 06:50 PM
When doing a "Find" in a form, would like the "Match" to default to "Any Part of Field" =?Utf-8?B?RG9u?= Microsoft Access Forms 2 25th Oct 2003 04:16 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:14 PM.