SashaBuilder3
Programmer
Hi everybody,
More stupid questions from a newbie.
My simple form has a button to pick up a file name (with the GET_FILE_NAME built-in) and a text item (TXB_FTOLOAD) where I want to display the chosen file name. I played with Set_Item_Property and Display_Item without much of success.
Here is a piece of code I used (file_name is a varchar2 variable keeping the file name):
txb_id=Find_Item(TXB_FTOLOAD);
Display_Item(txb_id,file_name);
This code was compiled without errors but the text box didn't show any value.
Next. How to get the text box value (say, into another variable)?
Can anyone show me the right syntax?
And another question. Do I have to manipulate with items by their ID's (found with Find_Item)? Or can I do something like this (?):
Display_Item(TXB_FTOLOAD,file_name);
Thanks,
Alexandre
More stupid questions from a newbie.
My simple form has a button to pick up a file name (with the GET_FILE_NAME built-in) and a text item (TXB_FTOLOAD) where I want to display the chosen file name. I played with Set_Item_Property and Display_Item without much of success.
Here is a piece of code I used (file_name is a varchar2 variable keeping the file name):
txb_id=Find_Item(TXB_FTOLOAD);
Display_Item(txb_id,file_name);
This code was compiled without errors but the text box didn't show any value.
Next. How to get the text box value (say, into another variable)?
Can anyone show me the right syntax?
And another question. Do I have to manipulate with items by their ID's (found with Find_Item)? Or can I do something like this (?):
Display_Item(TXB_FTOLOAD,file_name);
Thanks,
Alexandre