‎2007 Jun 25 6:05 AM
Hi all,]
I am working on smartrorms, in smartform i have used the address window.in address window if i pass adrc value address is displaying in Widow. but my requirement was if i pass the field ADRNR instead of value, related address need to be displayed.For this where i have to Assign this field. Please help me on this.
Regards,
Srini
‎2007 Jun 25 6:13 AM
hi
n the smartform in the flow logic u will have to write the query to extract adrc corresponding to adrnr and pass these variables to the address window.
regards
ravsih
<b>reward if useful</b>
‎2007 Jun 25 6:55 AM
Hi Ravish,
This way i have written the code, but i need to display adress when i pass the field in to adress window.
‎2007 Jun 25 6:17 AM
Hi Srinivasa
Take one Code Window, before your address Window and make adrc global.
Then pass output adrnr of it to the address window like this,
select single * from adrc into <global adrnr> and pass it to next address winodw.
Reward if useful!
‎2007 Jun 25 6:28 AM
Hi Srinivasa,
Insert the following code before the address window and it will work.
SELECT SINGLE * FROM ADRC INTO WA.
pass this work area to the address window.
Thanks and Regards,
Kunjal Patel
‎2007 Jun 25 6:56 AM
If i do like this, what is the difference between normal window and address window.
‎2007 Jun 25 7:01 AM
Address window is provided to print the address. Here address is automatically formated without you manually doing it.
Thanks and Regards,
Kunjal Patel