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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Upgrade from version 7 to 9 1

Status
Not open for further replies.

Triedit

Technical User
Mar 9, 2001
28
0
0
GB
Ok, I'm just about to upgrade from version 7 to version 9...oh what joy. It looks like I'll have to re-deliver all my forms again, does anyone have a quick fix for this? (I have hundreds of forms)

Any help, as usual, would be greatly appreciated.

Annie
 
Annie,

While it's not a full fix, there's a sample file on my site that you may be interested in. Specifically, the article at shows how to recursively search a directory and it's child directories for files and the sample file resaves all documents that are found.

You could easily modify this to redeliver forms, reports, scripts, and libraries.

Hope this helps...

-- Lance
 
I setup a script that does my delivery for me:

VAR
FILESYS FILESYSTEM
T TABLE
TC,TC1 TCURSOR
DB DATABASE
S STRING
F FORM
R REPORT
ENDVAR

FILESYS.ENUMFILELIST("*.FSL", "DELFORMS.DB")
T=create ":pRIV:FORMS.db"
WITH "FORM NAME" : "A31"
endCreate
TC1.OPEN(":pRIV:FORMS.DB")
TC1.EDIT()
TC.OPEN("DELFORMS.DB")
SCAN TC :
S = TC.NAME
IF
F.LOAD(S)
THEN
SLEEP(1000)
F.DELIVER()
F.CLOSE()
ELSE
TC1.INSERTRECORD()
TC1."FORM NAME"=S
TC1.POSTRECORD()
IF
MSGQUESTION("FORM "+S+" FAILED"," Do you want to continue")="Yes"
THEN

ELSE
RETURN
ENDIF
ENDIF
ENDSCAN
TC.CLOSE()

DB.OPEN()
DB.DELETE("DELFORMS.DB")

This allows me to deliver all my forms at once. Some of my forms are lookups or drilldown forms that depend on answer tables to open, so they fail. I actually compensate for that in the name of the form and deliver all of my forms module by module:

FILESYS.ENUMFILELIST("AP*.FSL", "DELFORMS.DB")

Hope that helps

James D. Howard
 
Annie,

Once version 9 is installed

you could probably go -

Tools - Experts - Utilities - Design Object Utilities

select your forms and deliver them all in one fell swoop. Watchout for any forms that require answer tables.


Regards

Bystander
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top