Sc_include ("File", "Source") This macro its used to "include" PHP routines. Sc_image (Image01.jpg) This macro loads images passed as parameter to use in the application. Sc_groupby_label ("My_Field") This macro dynamically modify the field label displayed in groupby lines. Sc_get_theme This macro returns the application theme name. Sc_get_regional This macro returns the abbreviation of the regional settings used. Sc_get_language This macro returns the abbreviation of the language used. Sc_getfield ('myField') This macro assign the properties of a field to a javascript variable. Sc_exit (Option) This macro forces the application exit. but when user click the file name in the grid, first i need to search file 10. Sc_error_message ("Text") This macro generate an error message. then, when uploading, i rename this file in the server into : 10.dat so, when i list it in the grid, it is showing file name in db : readme.docx ( i took filename from db value). This macro Interrupts the application execution if there are error messagesgenerated by the macro "sc_error_message". Sc_error_exit (URL, "Target") or (My_Application,"Target") sc_field_display () This macro returns the field or variable with the content encrypted. sc_field_disabled ("Field_Name = True/False", "Parameter") This macro its used to block a field to get any data that would be typed on it. sc_field_color ("Field", "Color") This macro changes the color of a determined field text. Manual Increment The form is responsible for managing the auto-increment, calculating the value of the field. I was attempting to use the webclient class in C. I now need to transfer that file to a file server which happens to be located on the same network (however this might not always be the case). Auto Increment Use it only when the field in the database is an auto-increment. Currently I have an application that receives an uploaded file from my web application. File Size Field that will storage the file size in the Database. Upload It gets the binary value of the file. sc_block_display (Block_Name, on/off) This macro dynamically show/hide the fields of a specific block. File Name It gets the name of the loaded file. F: save to a local file with the name given by name (may include a path). MACROS AND SPECIAL VARIABLES Shows sc_ajax_message ("Message", "Title", "Parameters", "Parameters_Redir") This macro allows the application to display customized messages. D: send to the browser and force a file download with the name given by name. Follows a table of all macros and special variables from ScriptCase, including the list of applications that works for each one. It should not have to be.SCRIPTCASE MACROS Scriptcase has macros and special variables that allow the user to manipulate events, buttons, applications, security control, manipulate with dates, etc. We use it extensively but by adding custom code and setting the properties in production preventing it to be overwritten. The upload has had many issues and it’s still not mature enough. It should be configurable or related to a (currently missing) event. One of our developers has created some custom code to get the files removed, but in fact this is the same issue. I have not done this before and was hoping someone has done something similar and could point me in the right direction, and give me some guidance. If I would need to be able to have an audit trail I realy didn’t want the file to be removed. I think there is a bug with the Multi Upload size limit. csv file into a DB table, from within my SC application, a process my client has requested. After all the file gets uploaded into tempspace and then moved.Īd2: I agree, but on the other hand it conflics with your fist ad Realy, it depends on the situation. In my opinion the current situation is too static. Then everyone can change behaviour to their needs. Imho there’s an event missing to be used to rename the file by coding. I’ve added to that form, a new field in the database (of type ‘text’) for adding a document attachment. If you have uploaded documents from different users, you need to create subfolders to get things right. Good evening, I’ve got a form that captures information and emails it out which is working fine. If you do it on your local engine, it gets overwritten too.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |