[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference iosg::all-in-1_v30

Title:*OLD* ALL-IN-1 (tm) Support Conference
Notice:Closed - See Note 4331.l to move to IOSG::ALL-IN-1
Moderator:IOSG::PYE
Created:Thu Jan 30 1992
Last Modified:Tue Jan 23 1996
Last Successful Update:Fri Jun 06 1997
Number of topics:4343
Total number of notes:18308

4115.0. "BLPW not merging with data from Form" by FAILTE::KELSAE::TODD (ET PHONE HOME) Thu Apr 28 1994 17:13

Having never used the wpsplus boilerplate .blpw before I am in need of some 
guidance.    

I copied over forms and script which already did some of what I 
wanted to do.    

I created a .blpw and edited it using the WPS+ functions, 2-diamental editor, 
tabs, bolds etc.  Put in all the fields <#account>, removed the <&bold> and 
<&tab20>.   

The information that is entered using a .frm goes to a .lis file, A script 
then ask the 2 to merge and print using the #Print_dSAB WPSPLUS and it comes 
back and says it can't find the .blpw file.   

Presumable I need to do something else but what.

Question 2

If I create a .blp and use the wpl editor to change bold etc.  does this not
keep the wps settings.  I did lovely boxes with the 2-dimential editor and 
saved the file then re-edited it to find the 'Picture', there were lines 
round the words but not nice boxes.  Plus none of the wps tabs not <&tab> 
worked, do I need to still put <&tab> in.

thanks

Liz
T.RTitleUserPersonal
Name
DateLines
4115.1.BLP files aren't .WPLIOSG::MARSHALLA glitch in realityThu Apr 28 1994 17:2110
Answer to question 2:

.blp files are text files, not .WPL format files, so no, you can't use TDE
boxes, etc, in them.

You may be able to get round this by including a .WPL file in the merged output,
but it would get pretty trcky to fill in dynamic data inside the boxes, if
that's what you're trying to do!

Scott
4115.2Try .WPL not .BLPWGIDDAY::JOYCEBurn me kangaroo down sportFri Apr 29 1994 01:2912
    
    re. -1
    
  >  .blp files are text files, not .WPL format files, so no, you can't use
  >  TDE boxes, etc, in them.
      
    Erm, I thought the you COULD have WPS-PLUS boilerplates - namely the
    BLPW element type in V3.0.  Tho' admittedly the extension should be
    .WPL not .BLPW (as a believe the doco wrongly states somewhere?).
              
    Andy
    CSC Sydney
4115.3SuggestionsIOSG::MARSHALLA glitch in realityFri Apr 29 1994 10:4020
>> Erm, I thought the you COULD have WPS-PLUS boilerplates

OK, I stand corrected.  If these confounded engineers keep putting new features
in, how can I be expected to keep up? ;-)

>> it comes back and says it can't find the .blpw file

What directory do you put the .BLPW file in?  What directory (if any) do you
specify in the MERGE command?  What extension, if any, do you specify in the
MERGE command?

>> If I create a .blp and use the wpl editor to change bold etc.  does this not
>> keep the wps settings

I guess WPS-PLUS (or something) doesn't realise that the file is in .WPL format;
a file extension of .BLP probably forces ALL-IN-1 to write the file as plain
text (ie without the pretty boxes.  Try as .2 suggested and use an extension
of .WPL.

Scott
4115.4BLWM more confusedFAILTE::TODDET phone homeFri Apr 29 1994 12:3452
I think I am more confused, I think if I explain what I have got and what I 
want to do it may be easier.  I understand the BLP and the WPL editor, that 
zapped my boxes because it is text, it is the BLPW that I am not clear in.

I already have this working as text, there are 5 files in the set
 
1    ACCREQ2                                 BLP   BRITISH     
2    ACCREQ2                                 DO    BRITISH             
3    ACCREQ2                                 FRM   BRITISH             
4    ACCREQ2_PRE                             DO    BRITISH      
5    ACCREQ2_PRINT                           DO    BRITISH           


accreq.scp   calls form and command to produce output			   
accreq2.blp  boilerplate for final output				   
accreq2.frm  data entered
accreq2_print.scp   do to merge
accreq2_pre      if statement for fields.

ACCREQ3_print
 
.LABEL START 
 
MERGE ACCREQ2.BLP,ACCREQ2.LIS 
GET #PRINT_FILE = "ACCREQ2.LIS" 
GET #PRINT_DSAB = "ASCII" 
DO WPPRINT 
PURGE_FILE ACCREQ2.LIS 


what I did was copy all of these other than .blp.  Created .blpw used the 
.blp as the template then put in the boxes, bold and tabs etc.

edit accreq3_print to 

MERGE ACCREQ3.BLPw,ACCREQ3.LIS 
GET #PRINT_FILE = "ACCREQ3.LIS" 
GET #PRINT_DSAB = "WPSPLUS" 
DO WPPRINT 
PURGE_FILE ACCREQ3.LIS 

Thats when it says can't find accreq3.blpw.   

All the files are in the same place as before.  If what I think you are 
saying is that the data needs to go to a .wpl file to merge i.e. 
accreq3.wpl, how do I do that because in none of the above commands is 
there a call to the .lis.   I don't know how the form puts it there.

I hope you understand all of this.

Thanks
liz
4115.5Create a WPS-PLUS fileIOSG::NEWLANDRichard Newland, IOSG, REO2-G/L2Fri Apr 29 1994 12:5615
The output from MERGE will be an ASCII text file because the file type of your
file is '.LIS'.  If you change to a file type of '.WPL' MERGE will create a
WPS-PLUS file which you should then format with the WPS-PLUS formatter.

The accreq3_print script should be:

MERGE ACCREQ3.BLPw,ACCREQ3.WPL 
GET #PRINT_FILE = "ACCREQ3.WPL" 
GET #PRINT_DSAB = "WPSPLUS" 
DO WPPRINT 
PURGE_FILE ACCREQ3.WPL 



Richard
4115.6I think you need .wpl's everywhereIOSG::SHOVEDave Shove -- REO2-G/M6Fri Apr 29 1994 12:5913
    I think (from what I remember - it's ages since I last did this) that
    you need the output of the MERGE to be a wpl file.
    
    And the input (template) file's extension should be wpl too, not BLPW
    as it says in the manual!
    
    So try
    
MERGE ACCREQ3.wpl,ACCREQ3.wpl
    
    HTH,
    Dave.
    
4115.7Apples and OrangesGANTRY::HULLDigital Consulting [Delivery]/MotownFri Apr 29 1994 19:2413
Remember, CM Element Types, ie DO, BLP, BLPW, ASCII, FGN, OAMAR, etc do not
always match up on the file extensions.

Type DO has a .SCP extension.  A BLPW type (it's not a "dot"BLPW) is a .WPL
file but is still stored in the OA$SITE_BLP_xxx directory, or in
OA$SITE_LIB_xxx dir.

Don't confuse the terminology of abstract element types with their actual
VMS file naming conventions.

Regards,

	Al
4115.8How to merge blpw and .wpl fileFAILTE::KELSAE::TODDET PHONE HOMETue May 03 1994 13:1110
If I understand this correct I create my blpw which is in WPL format but I 
need the output from my form to be in wpl format to be able to merge the 2 
together. 

How do I get the form to put the data into accreq3.wpl instead of 
accreq3.lis as I can't see in any of the scipts where it tells it to put it 
into accreq3.liz it seems to do this automatically.

Liz