Hi Friends,
In Posted Sales Invoice form, I kept one menu button. From menu item, if I click means, on 1 condition, I need to run FormA (it is bounded to TableA) and in other condition I need to run FormB (it is bounded to TableB).
FormA or FormB should be filtered to the invoice number in Posted Sales Invoice. FormA and FormB contains a field named Invoice No.
Can anyone help me in achieving it?
Thanks and Regards,
Aravindh
0
Comments
if conditonA then
begin
set a filter on a record
apply the view of the record to formA
run formA (modally)
end
if condition b then
begin
set a filter on a record
apply the view of the record to formB
run form B
end
|To-Increase|
That doesn't work, I tried it and got an error message "The variable 'ConditionA' does not exist"
Why will it not run? I was surprised to read that it will not work and tried. It worked. The code is (hardcoded but for example i think its fine):
http://ssdynamics.co.in
I will not elaborate, it has been discussed many a times on the forum.
http://ssdynamics.co.in
That's why I didn't want to respond, because the point was obvious. and yet here I am typing these letters.
|To-Increase|