Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

WP11 issue with Template (no prompt boxes displayed) 1

Status
Not open for further replies.

LDaug

Technical User
Feb 6, 2004
3
US
[pipe]
Hello, Im trying to get some assitance with a WP template.
Actually the template calls a macro so it's the macro Im needing help me decipher this issue.

This macro has been "revamped" for each version of WP, starting with 6 going to 9. We have now upgraded to 11 and now need to get this macro to work with 11. It seems to be an endless cycle and the macro has gone from hands to hands in the years. Im now stuck with it and Im not real savy on the WP macros and this one is a big one. Can someone possibly look at the macro and maybe tell me where I should go from here?

When I try to run it, it looks like it's running you can see something flicker in the bottom right of the task bar then go away, but no prompts are displayed on the document. I did check the associations of the post new on the template and I don't have the option for "dofiler" like Ive seen in other posts I get "no association" or "post new" Any thoughts, suggestions would be appreciated.
I included the first page of the macro to see if anyone can spot a hangup??




//change this to your location where the two directories that contain the source files
c_fileloc = "G:\blkform\ed\admin\forms2\"
//c_fileloc = "k:\appdev\wpconver\transpor\petition\"
PleaseWait()
GLOBAL k_hrt
k_hrt = NTOC(63754) //Hard Return

GLOBAL l_continue;l_prtctrl
l_prtctrl = FALSE
c_projectnum = ""
c_defstyle = ""
c_county = ""
c_court = ""
c_projectnum = ""
c_parcelnum = ""
c_clerk = ""
c_atty = ""
c_bar = ""
c_hearingloc = "____________________________________________________________"
c_insertfile = ""
c_insertfilegrp = ""
c_agent = ""
c_defendant = ""
c_allagents = ""
c_alldefendants = ""
c_defaddress = ""
c_defcity = ""
c_defstate = ""
c_defzip = ""

l_continue = TRUE

GLOBAL a_definfo[1,9]
//l_definit = false
//a_definfo[i,1] = Def number
//a_definfo[i,2] = Def Name
//a_definfo[i,3] = Def Title
//a_definfo[i,4] = Number of Agents
//a_definfo[i,5] = Displayed Name
//a_definfo[i,6] = c_defaddress Address of Defendant
//a_definfo[i,7] = c_defcity Address of City
//a_definfo[i,8] = c_defstate State of Defendant
//a_definfo[i,9] = c_defzip Zip of Defendant
 
There is nothing wrong with what you have posted. <dofiller> is only an option when prompt builder was used. Was prompt builder used?

One can use both macros and prompt builder. What you do is use TemplateFill() in your template trigger macro rather than <dofiller>. Then, do other macro coding in the trigger macro. The Prompt builder was not used as much in older wp versions because of a limit on the number of prompts. There is no limit now.

You can email the template to my khobson at aaahawk.com if like and I'll look at it.
 
If you don't mind I think I will email it to you..

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top