Popup generating 'Reduction Error : 1' in runtime environment (OpenInsight Specific)
At 14 DEC 1997 07:36:38PM Michèle wrote:
I am not able to send selection criteria programatically to a popup in the runtime environment: Popup is returning the "Reduction Error : 1" errror message when the following code is run in the runtime environment. This code works perfectly well in the development environment.
This is a segment of the options code for a prompt:
TableName=.TABLE_NAME-]TEXT
ClearSelect 0
typeoverride='
typeoverride=T"
typeoverride=WITH TABLE_NAME=":TableName:"' BY @ID"
PopAns=Popup(@Window,typeoverride,"DICT.COLUMNS.POP")
(The DICT.COLUMNS.POP displays rows from the SYSCOLUMNS table.)
What can I do to resolve this problem? Is there something I should make publishable?
At 14 DEC 1997 11:10PM Michèle wrote:
This error turned out to be due to the fact that DICT.SYSCOLUMNS is either not created or not attached in the runtime environment. The only system dictionnary available in the runtime environment is DICT.SYSREPOS. How can I get the DICT.SYSCOLUMNS to be copied over or attached?
At 15 DEC 1997 12:11AM Michèle wrote:
I guess I have been too hasty posting up these messages. Please disregard them:
RDK does copy over the system disctionnaries, I don't know why they don't get attached in my application. I simply had to add Attach_Table("REVBOOT", "", "", "") in the CREATE event of the main application form and my problem was solved.