Hi guys, I've one question for you.
I'm making a personalization on the Customer List Page. As you know (thanks to CardPageID property), performing double-click on a record in the repeater, the Card will be opened. My personalization consists in opening 2 different type of card according to a field in the customer table.
The code is simple and is the following:
IF "Only Distributive" THEN BEGIN
CustomerCardDistributive.SETRECORD(Rec);
CustomerCardDistributive.RUN;
END ELSE BEGIN
CustomerCard.SETRECORD(Rec);
CustomerCard.RUN;
END;
If I put it in an action it works with no problems.
Now I'm wondering if there's a possibility to launch this code when user makes a double-click on a record.
Thx in advance!
Answers
Thx Mihail!
It works as expected... More or Less...
\:D/
It works as expected... More or Less...
Can you describe this in more steps.
Customer Card > F5 (Customer List) > THEN
.. what are the steps, where did you put your code and the proporties of wich fields did you return.
Hi Bekio!
1. the code I wrote has been placed in trigger OnAction() of an Action I created in Customer List.
2. open properties of this Action and set:
a. Visible -> false
b. Shortcutkey -> Return
now if you launch Customer List and you performe a double-click on a record or you press enter the code in the action created before will be executed.
is it clear? :P
It works as expected... More or Less...
But, for pages, what is an action in real(field, part..)!!
It works as expected... More or Less...