› פורומים › אפיון ופיתוח פריוריטי › REFRESH
- This topic has 11 תגובות, 4 משתתפים, and was last updated לפני 9 שנים, חודש 1 by
sayo.
- Post
מוצגות 11 תגובות – 1 עד 11 (מתוך 11 סה״כ)
- Replies
-
- יוני 25, 2016 בשעה 8:33 pm
מתוך ה-sdk:Form Refresh
Generally, the data retrieved in any given form are relatively static. That is, changes are usually made by one user at a time. Sometimes, however, the data displayed in a form are highly dynamic — updated periodically by the system. In the former case, it is enough to retrieve records once; in the latter, a periodic refresh of the form is in order.
If you want a form to be refreshed periodically by the system, you need to fill in the Refresh Form form, a sub-level of the Form Generator form. Indicate the number of seconds that should pass without user input between one form refresh and the next. Also indicate whether all existing records should be retrieved during the refresh (this is important if new records have been added since the last update) or only those that were retrieved previously. The form refresh works per node on the form tree. That is, it only affects the specific form for which it is designated; it does not affect any sub-levels. As the automatic refresh involves access to the server, it should be used sparingly and with caution. When it is employed, the TIMEOUT constant is disabled.
Additional ways of forcing a form refresh are:
Include the REFRESH command in a form trigger.
To refresh all retrieved records following a Direct Activation, include
:ACTIVATEREFRESH = 1 in the PRE-FORM trigger of the form in question.- יוני 26, 2016 בשעה 1:21 pm
כן קראתי את ה-SDK והכנסתי את פקודת ה-REFRESH ולא עובד לי.
אשמח להסבר מה בדיוק לעשות ממישהו שכבר עשה זאתתודה
- יוני 26, 2016 בשעה 1:25 pm
- יוני 29, 2016 בשעה 12:27 am
סביר להניח שפה מקור הבעיה:PRE-FORM
Performs operations before a form is opened- אוגוסט 9, 2016 בשעה 2:53 pm
היי,אולי תעשה הפעלה ישירה לFORM , בכל פעם שרוצים להתעדכן ילחצו על ההפעלה הישירה.
- אוגוסט 10, 2016 בשעה 6:29 pm
פקודת ה-REFRESH לא הפתרון כאן.נקרא שוב מה-SDK ושימו לב למה שהדגשתי:
Form Refresh
Generally, the data retrieved in any given form are relatively static. That is, changes are usually made by one user at a time. Sometimes, however, the data displayed in a form are highly dynamic — updated periodically by the system. In the former case, it is enough to retrieve records once; in the latter, a periodic refresh of the form is in order.
If you want a form to be refreshed periodically by the system, you need to fill in the Refresh Form form, a sub-level of the Form Generator form. Indicate the number of seconds that should pass without user input between one form refresh and the next. Also indicate whether all existing records should be retrieved during the refresh (this is important if new records have been added since the last update) or only those that were retrieved previously. The form refresh works per node on the form tree. That is, it only affects the specific form for which it is designated; it does not affect any sub-levels. As the automatic refresh involves access to the server, it should be used sparingly and with caution. When it is employed, the TIMEOUT constant is disabled.
Additional ways of forcing a form refresh are:
Include the REFRESH command in a form trigger.
To refresh all retrieved records following a Direct Activation, include
:ACTIVATEREFRESH = 1 in the PRE-FORM trigger of the form in question.דהיינו:
יש למחולל מסכים מסך בן בשם "רענון מסך". יש להגדיר ערך ב"שניות לרענון" לדוגמה 60 יעדכן את המסך פעם בדקה. יש לסמן "שליפה מחדש" כדי לבצע שליפה כמו בכינסה למסך. אחרת הרענון יהיה כמו לחיצה ב-Ctrl-F11 שיעדכן את השורות המוצגות בלבד.פקודת ה-REFRESH שמדוברת מאלצת עדכון הערכים שבמסך במקרים בהם הלוגיקה שבמסך לא עושה את זה בעצמו. רק הדרך הנ"ל נותנת פתרון לדרישה של שליפה מחדש עצמאית.
[ בבקשה לא לשלוח הודעות פרטיות במערכת - אני לא קורא אותן ]
מוצגות 11 תגובות – 1 עד 11 (מתוך 11 סה״כ)
- יש להתחבר למערכת על מנת להגיב.