Hi, I have a memo field in my database and I want it to store it into a memory variable so that i can show it in an editbox and store whats modify from it, I was wondering, how can that be done?
Printable View
Hi, I have a memo field in my database and I want it to store it into a memory variable so that i can show it in an editbox and store whats modify from it, I was wondering, how can that be done?
Hi Karla
You don’t need to use a variable just specify the table.column as the data source in the attributes and the memo field will be data bound saving automatically.
Drag a memo field onto a canvas will automatically create the editbox for you and bind it to the memo field.
Hi,
I want to store it in a memory variable because I donīt apply the changes directly in my database, is there any way where I can do this?
Hi Karla
You can bind to a variable in desktop apps by specifying m.varname
Alternatively you can set the text in your editbox through code.
Thanks, and how can a define the type of a memory varible, meaning, I want certain memory variable to be character type that allows me to store more than 255 characters, but I canīt find how can I do that. Because the problem that I have with my editbox is that the memory varible I asigned to, itīs not allowing me to store more than 255 charactes.
Hi Karla,
There is no 255 limit on text. The string limit is 64k.
Create a public variable
public myvar = "hello world"
Drag an editbox onto a canvas section
specify m.myvar as the "data source"
edit the text and in the console type
? myvar
You will see the text as you typed it