Hi, I've now based my coding for My Script Collector on one of Mark's excellent stack's "A Revolution Database". I suddenly realised that this is closer to what I want to achieve than another stack I found.
I've uploaded it to Rev Online (gyroscope>Script Collector) with the hope that someone could guide me to a solution with a few probs I'm still having with it:
• How do I code for a delete button, which would delete the custom property selection as well as the title in the List Field?
I'm sure it has to be something along the lines of:
delete variable MyDataBaseArray[pseudocode:"heading which is the same as the chosen line in the List Box, and the Text and Notes field entries associated with it"]
• I've been trying to figure this one out for a week of evenings without much luck: how do I "weave in" the Notes field into each record?
It must be to do with the lines:
lock screen
set the htmlText of fld "Text" to myDatabaseArray[line myNr myKeys]
put line myNr of myKeys into fld "Title"
unlock screen
I've tried adding: set the htmlText of fld "Notes" to myDatabaseArray[line myNr myKeys] but this just puts the Text content into the Notes field.
Arrays are confusing me here...
Any help here would be so appreciated, please!
A few missing links in My Script Collector
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Hi Gyroscope,
I posted to RevOnline a version of Mark Schonewille's original stack that now has a delete button and a notes field.
Username is berndniggemann
title: A revolution database for gyroscope.
I think if you follow the logic you could add more fields. I changed the one dimensional array to a multidimensional array. Added Arrowkey support for the list field.
It was fun to do and gave me a chance to look into multi-dimensional arrays as well as customproperties.
regards
Bernd
I posted to RevOnline a version of Mark Schonewille's original stack that now has a delete button and a notes field.
Username is berndniggemann
title: A revolution database for gyroscope.
I think if you follow the logic you could add more fields. I changed the one dimensional array to a multidimensional array. Added Arrowkey support for the list field.
It was fun to do and gave me a chance to look into multi-dimensional arrays as well as customproperties.
regards
Bernd