hallo zusammen,
ich wollte in meine applikation parameter von ein Form a zur form B übergeben.das klappt aber meine problem ist:
wenn ich den controlle von form A zu der schon geöffnete maske B gebe dann wird eine zweite maske namens auch B geöffnet und das will ich nicht haben.
weiss jemand von euch woran das liegen kann
der aufruf sieht so aus.
call_form(child_name, no_hide, no_replace, no_query_only, pl_id);
hi!
es gibt in forms gaaaanz rechts einen menüpunkt, der nennt sich „hilfe“ oder „help“, und da hab ich erstaunlicherweise folgendes gefunden:
Navigation between forms in a multiple-form application can occur when the end user navigates with the mouse, or when a form calls one of the following navigational built-in procedures:
n GO_FORM
n NEXT_FORM
n PREVIOUS_FORM
GO_FORM takes one parameter that specifies the name of the target form:
GO_FORM(‚schedule‘);
NEXT_FORM and PREVIOUS_FORM navigate to the next or previous form in the same order the forms were opened at runtime:
NEXT_FORM;
PREVIOUS_FORM;
Many triggers fire in response to navigational events, including Pre- and Post- triggers (Pre-Block, Post-Record, etc.) and When-New-Instance triggers (When-New-Block-Instance, When-New-Item-Instance, etc.). When you build a multiple-form application, you should understand how navigation affects trigger processing.
In a multiple-form application, each open form has one item that is the current item for that form. If you use GO_FORM, NEXT_FORM, PREVIOUS_FORM or EXIT_FORM to programmatically initiate navigation to an open form, the target item is always the current item in the target form. For example, when Form A opens and activates Form B, Form Builder sets focus to the current item in Form B. If Form B subsequently calls EXIT_FORM or PREVIOUS_FORM, Form Builder returns focus to the current item in Form A—in this case, the item that was current when Form A opened Form B.
Keep in mind the following points when navigating between independent forms:
n No validation occurs in the starting form. It is possible to navigate out of a field that is currently invalid provided that the target field is in a different form. Upon returning to the starting form and attempting to navigate within that form, normal validation is enforced.
n With a few exceptions, no triggers fire. The only exceptions are When-Window-Deactivated (fires in the initiating form), and When-Window-Activated (fires in the target form). The Pre-, Post- and When-New-Instance triggers do not fire when navigating between forms.
When an end user uses the mouse to navigate from Form A to Form B, the target item can be either the current item in Form B or another item in Form B.
If the end user clicks:
n the current item in Form B, no triggers fire
n any other item in Form B, triggers fire that normally would fire when navigation occurs from the current item in Form B to the target item, and validation occurs as required. In other words, form processing proceeds exactly as it would if the end user were navigating from the current item in Form B to the target item, without regard to any external forms.
hi!
ich weiss schon dass es eine hilfe von forms builder gibt und habe sie erschöpft.
ich war zwei tage mit diesem problem beschäftigt aber erfolglos,erst dann habe ich meine frage in diesen forum gestellt.
zu deiner informationen, die parameter (ausser name des forms) kann man nur mit dieser 3 funktionen von einem form zu anderen übergeben:
call_form
open_form
new_form.
dafür braucht man einen parameterlist und…
ich vermute an ,du hast meine frage falsch verstanden!?
danke trotzdem
youssef
hi!
ich glaube eher, du hast die parameterliste nicht verstanden: ich übergebe einer anderen form mittels call-form _einmal_ die parameter, das war’s … wenn ich zwischen einezelnen forms hin und her navigieren will, funktioniert’s nur mehr mit globalen
grüße,
tomh
hi Tomh,
mit globalen variablen funktioniert mein Applikation einwandfrei
aber jede maske die zu meiner Applikation gehört kann auf meine globale variablen zugreifen und das kann schif gehen.
deshalb wollte ich mit parameter arbeiten weil ich jedes mal wenn der focus von maske zu andere geht eine bestimmte informationen mitgeben möchte(status,letzt aktuelle info maske_id…)aber es ist leider compliziert zb.
wenn eine maske die controlle(focus) durch call_form abgibt und man versucht sie wieder die controlle zurueck zu geben dann wird diese maske nicht einfach den focus erhalten sondern es wird eine zweite maske geöffnet…sehr comisch oder!!
ich habe jetzt eine idde und zwar ich arbeite jetzt mit datenbank-package dort habe ich variablen defeniert und zugriffsfunktion get und set für setzen bzw. lesen der info und das klappt wunderbar bis jetzt.
youssef.