MSM-Workstation Tutorial (part 4/5)
Control Delete Push I cExt'="" I $$YN^%msgbox("Are you sure?","Delete
Record") D Q Control Ext Modified Q:cExt="" Control Ext select N Array,Key,I Control Save Push N Buf
Bye-Bye If you would like to share some code with us, zip up your development database and send it over with instructions on what to do. Dont forget to include in your archive, any icons, graphics, etc that are necessary for the proper functioning of your code. If youve written an application that uses MWM-Workstation and would like us to give you additional coverage in marketing your work, send us an archive and a document on the lines of %ZCBRS. Our aim at this point is to get you developing in Workstation and we are therefore focusing on sharing with you development tips and tricks. We will soon be adopting a more formal approach to the topic but in the meantime suggest that you check out help, the tutorial on Micronetics web site and announcements by Micronetics on this product. Mounting a database. $$MOUNT^%msv(.<InArgs>,.<OutArgs>) mounts a database that may lie wither on the same computer as the application as is MWMdb. This type of database is called a local database. You can also use this command to link to a database lying on a server. A third option is to load a memory database. This type of database is very fast but not permanent. It is ideal, for example when working with scratch data. This function returns success or failure. ^%msv also has functions directed specifically at the three possible databases. They are LMOUNT, RMOUNT, and MMOUNT.
Mounting a local database <InArgs> must have the following subscripts defined.
When mounting a local volume group and DBNAME is not specified, MONIKER must identify a moniker recorded in the application's registry entry, from which the host filename is determined. The volume group index and the volume group name of the mounted volume are returned as output arguments.
Mounting a remote database <InArgs> must have the following subscripts defined.
When mounting a remote volume group and IPADDRESS and PORT are not specified, MONIKER must identify a moniker recorded in the application's registry entry, from which the host filename is determined. The address and port are returned as output arguments.
Mounting a memory database <InArgs> must have the following subscripts defined.
Returned Fields <OutArg> will contain the following fields is the operation is successful:
|