I am using OI 3.4 and have created an update routine for my application using RDKModuleInstall as a basis.
I discovered that I am unable to use the CREATE_TABLE function to create new tables in my clients run time systems and since my update routine uses this function to create new tables I am stuck.
I was told that using the RDKInstall routine would get aroud this problem. How does it get around this problem? I have tried to see where/how it temporarily puts OI in developer mode but was unable to find anything and just using RDKInstall to call my update routine does not work either.
What do I need to do to be able to create / update tables in run time systems with my update routine????
Thanks,
Michael
Hellooooo …..
Does anybody at RevTech (or anywhere else) have any idea about how to solve my problem????
I don't know what version this started in but
Status=RDKInstallInit( True$ )
If Status Then
Life is goodEnd Else
Oy! Do we have troublesEnd
Process…process…process..
Status=RDKInstallInit( False )
* Does it really matter?
akaplan@sprezzatura.com
Thanks for responding.
I tried your suggestion using RDKInstallInit and staus returned true but it still did not let us create new tables or add new dictionary items to our run time system.
Do you have any other ideas???
Thanks,
Michael
Michael,
Have your install routine be a part of a module install. That is the only way.
For more information, search for EXECPROC$ in RDKModuleInstall. Example process record:
UPDATE ROWS
SYSOBJ/$CUSTOM_UPGRADE
EXECUTE PROCEDURES
CUSTOM_UPGRADE
DELETE ROWS
SYSOBJ/$CUSTOM_UPGRADE
Remember, don't try to replace RDKModuleInstall with your own code … if necessary use the minimal module install shown above in example form. (I suggest not changing RDKModuleInstall either, in case we change it in subsequent releases.)
Hope it helps,
Cameron Purdy
Revelation Software