Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Image not appearing after assigned
Message
From
09/11/1998 11:30:53
Brad Stickley
Parker Pneumatic Div. North America
Wake Forest, North Carolina, United States
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00155733
Message ID:
00155764
Views:
37
>Brad,
>
>Try code like this;
>
>
>local lcfilename, lcAlias
>
>* Save current work area
>lcAlias = ALIAS()
>
>* Get the file name
>lcFileName = GETPICT("BMP;TIF;PCX;WMF;DIB;GIF;JPG", ;
>                     "Select Map Image File", ;
>                     "Select")
>
>* If you have a file name
>IF !EMPTY(lcFileName)
>   * Select the Cutters work area
>   SELECT Cutters
>   * Add a new record for the file
>   APPEND BLANK
>   * Add the image file to the general field
>   APPEND GENERAL bitmapname from (lcFileName)
>   * Refresh the form
>   thisform.Refresh()
>ENDIF
>* Put the current work area back to what it was
>IF NOT EMPTY(lcAlias )
>   * If there qwas a table open then reselect its work area
>   SELECT ( lcAlias )
>ELSE
>   * Otherwise select an empty work area
>   SELECT 0
>ENDIF
>
Jim,

I am getting an error, alias 'cutters' not found.
He is there and He is not Silent.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform