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)
VAR
FILESYS FILESYSTEM
T TABLE
TC,TC1 TCURSOR
DB DATABASE
S STRING
F FORM
R REPORT
ENDVAR
FILESYS.ENUMFILELIST("*.FSL", "DELFORMS.DB"
T=create "RIV:FORMS.db"
WITH "FORM NAME" : "A31"
endCreate
TC1.OPEN("RIV: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:
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.