Last active [hidden]
Will work back and replicate the duplication issue likely on Monday after the holiday weekend. Once I have it the project will be sent privately.
Have a great weekend
Narrowed to a TableView and renamed var's, copied/pasted methods/objects and eliminated the 'hard' crash.
I recognize larger projects combining small Creo projects with dragndrop and duplicating windows, etc. will sometimes cause corruption for some of the files but if possible a crash log to identify the fault would be a great help.
Creo typically is very stable and the new version is quite fast.
The search tool is very useful when duplicating but even better if it can be expanded to include a replace tool as well.
Keep up the good work !
In moving objects one by one I have narrowed the issue to a single TableView , will upload a sample project if the crash is replicated.
I duplicated a window and renamed it . This window caused Creo to crash upon opening in the simulator and CreoPlayer using APInvoice.open(). This also occurred when initialization methods were removed so I assume something occurred in the duplication process.
I have the user path controlled for updating TextView in a TableView but requires the row to be selected. Is there a way to have TextView use Passthrough Touches ( User Interaction) to invoke row selection in TableView/cell selection ? Or something that mimics that action ?
I am updating a TextField in a CustomView/TableView on DidEndEditing. The update requires the row being set (rs.moveTo()) . Is there a way to set the row when tapping directly on the TextField as presently I have to tap the row outside the TextField before going into the control ? Setting in DidBeginEditing and TouchBegin in CustomView helps in some cases ( going directly to TextField) but not all.
Thanks Marco ,
While on the subject of poor nomenclature it would be helpful as part of the search option to have a search and replace option ( as I always seem to use the default settings and either forget and/or too lazy to go back).
I am using an In-Memory SQite file as a cache/holder for table rows before being uploaded to Postgres.
However I a having difficulty reading the memory file.
lineitemTableView.dataSet = SQLiteDatabase1.rows
var rs = lineitemTableView.dataSet;
var count = rs.rowCount; // count = 0 , should be 3
where count gives 0 instead of 3 - (verified as seen in the screen shot) .
This particular code was tested on its own successfully before being included in the project .
Is there a 'more' specific way of pointing to the SQlite memory file when there are other db files in the project ?
Any suggestions are appreciated.
Actually didn't use the $$ initially , was part of testing despairation,
var sql = "INSERT INTO rows (code,description,tooth,surface,amount,provider) VALUES (\(codeText.text),\(descriptionText.text),\(toothText.text),\(surfaceText.text),\(amountText.text),\(providerText.text))";
was the original code but adding '' fixed it .
var sql = "INSERT INTO rows (code,description,tooth,surface,amount,provider) VALUES ($$\(codeText.text)$$,$$\(descriptionText.text)$$,$$\(toothText.text)$$,$$\(surfaceText.text)$$,$$\(amountText.text)$$,$$\(providerText.text)$$)";
if descriptionText.text = "oral" , no error message while " oral exam" produces an error