UIB - Toolbar vs. CTRL keys

Chris Kelleher

Administrator
Staff member
Under Syteline 4.00.002, I have added fields from our custom database to
v-coitem.w. The save function works correctly when the user presses the "save" button, but if the user presses CTRL-S or ALT, edit, S, certain fields are not saved. Does anyone know if the different methods of saving call different routines, or have any idea what I could be doing wrong? I have added custom fields to several programs without encountering this problem; however the other programs do not include a smart browsers.

Thanks,
Suzy Hall
Metals USA - ABS
Suzyhall@aluminumbuildingsys.com
 

Chris Kelleher

Administrator
Staff member
Are you saying that the fields not being saved are in a smart browser ?
Smart browsers are not part of the table-io chain, so they are only
saved when you do a row leave, which you would be doing if you went
to the toolbar to press save, but may not be doing when you press
ctrl-s.

Patrick T. Gordon
Senior Software Engineer
Software Services
Symix Computer Systems, Inc.
Columbus, OH 43231
Phone: 614/523-7000
Fax: 614/895-1195
 

Chris Kelleher

Administrator
Staff member
The fields are not being saved in the smart viewer, v-coitem.w, but as the record link to this view is from the smart browser, b-coitem.w, this could be the culprit. Do you know of a good way to make the CTRL-S function like the SAVE button, so that users can use the mouse and control keys interchangeably?

Thanks,
Suzy Hall
 

Chris Kelleher

Administrator
Staff member
If you can control the ctrl-s, by defining a trigger, you can call
check-modified which does the check and save
which is what the save button does. Look for an example of check-modified in
the job dir. can't remember the
syntax and I am not in the office. There is on paramter that must be
supplied to check-modified, which runs
in this-procedure....

Mike
 
Top