Questions tagged [memo]
144 questions
1
vote
2 answers
How to use React.memo with react-redux connect and set propsAreEqual?
I'm using react-redux and I have a component connected to it.
my component has its own props (variants and functions) and also some state from store mapped with it, using mapStateToProps.
It's very important to us to manage when this component…

Alireza Esfahani
- 701
- 7
- 16
1
vote
1 answer
React.createRef() inside useMemo
Is it safe to use such a pattern:
const appLoaders = useMemo(() => React.createRef(), [])
The thing is I use this ref in useEffect and it is needed in the dependency array (exhaustive-deps). The above pattern does the trick and everything seems to…

Maciej Wira
- 149
- 1
- 10
1
vote
3 answers
How to optimize code in React Hooks using memo
I have this code.
and here is the code snippet
const [indicators, setIndicators] = useState([]);
const [curText, setCurText] = useState('');
const refIndicator = useRef()
useEffect(() => {
console.log(indicators)
}, [indicators]);
…

ajbee
- 3,511
- 3
- 29
- 56
1
vote
1 answer
MS Access Memo field truncated
This issue sounds familiar, but please read it to the end, as it has a twist to similar questions I found in this forum or elsewhere.
I am using Access 2010 to build a simple app to create some code to execute in another system. Part of it is to…

tribe
- 11
- 1
1
vote
1 answer
R data frame to Oracle SQL table: Could not allocate memory
I want to insert a data frame from R into an existing table in my Oracle database using this code:
sqlSave(connection, df, tablename = "oracle_table", append = TRUE)
I get the error could not allocate memory.
I tried inserting only one line, but…

yPennylane
- 760
- 1
- 9
- 27
1
vote
2 answers
MS Access Error updating memo field with long text
Searching this problem returns quite a few search hits, but many off-track answers, so I'm posting a concise description here, and answer below.
The problem afflicts Microsoft Access 2010, and some versions before. Access 2013 renames Memo type to…

gwideman
- 2,705
- 1
- 24
- 43
1
vote
1 answer
Microsoft Access can't update large Memo (Long Text) fields on a linked SQLite3 ODBC table: sequence error (#-1)
Microsoft Access can't update large Memo Fields (Long Text) on the ODBC linked SQLite table. The limit is somewhere between 2300 and 5152 characters. It can be an Update Query, DAO or ADO rs.Edit or manual copy-paste using Ctrl-C / Ctrl-V + mouse…

darekk
- 71
- 1
- 13
1
vote
0 answers
Add text to any line of UITextView Without enter key
I've one UITextView. In that I want to add text to anywhere without press enterkey.
Currently It is allowing to add text to any where by pressing enter key.
Like If I'm adding text to 1 line then want to add text to 4th line then I have to press…

Ekta Padaliya
- 5,743
- 3
- 39
- 51
1
vote
3 answers
Delphi converting memo output to edit.text
How can I convert a specific line of memo out put to a text edit box?
I would like to get specific IP address assigned to the TAP Adapter to text box and I add route of the IP in the text box but am stack on importing the IP to text box is there a…

Jk Robbin
- 65
- 10
1
vote
2 answers
iteration without a loop in python
The following example is from "Think Python" book by Allen Downey. While explaining the concept of "Memos" in dictionaries, he quotes the following example.
known = {0:0, 1:1}
def fibonacci(n):
if n in known:
return known[n]
res =…

Kumar Dasari
- 11
- 1
- 2
1
vote
1 answer
Update datetime and a string in Memo field using Java and UCanAccess
I want to update datetime and a string in Memo field using UCanAccess. For example - 5/27/2015 System : some string, this is all I have to update in memo field.
What I have tried - I am converting date to a string using following code:
DateFormat…

vishal bhatia
- 43
- 5
1
vote
4 answers
Adding a string into Delphi memoedit
I want to add an string into specified place of a Memo Edit in delphi, how can I do this?
I mean I want to know where the mouse cursor is within TMemo, and then add a string to this position. Is that possible?

Rojin
- 109
- 3
- 6
1
vote
0 answers
Strange detail dataset memo-fields encoding in TClientDataSet
Good day, all!
I'm using a TClientDataSet, connected to master-detail dataset. At first, save data (for futher data exchange)
cdsImpExp.SaveToFile(aFileName, dfXML);
In obtained file memo-fields are written in internal encoding (what encoding,…

user3044887
- 11
- 1
1
vote
1 answer
Add String of TSearchrec to Memo
I want to add the files in the selected folder to the memobox or in a stringlist and show the results. In both ways, i can add them but i can't show the files from the folder in the memo or from the stringlist in a ShowMessage-dialog.
function…

Umberto
- 97
- 8
1
vote
2 answers
How can I export a voice memo from my app to iPhone's voice memo app?
Is it possible to export a .wav file to Voice memo app from my app?
Thanks

Confused
- 3,846
- 7
- 45
- 72