General information
Category:
Forms & Form designer
Title:
Hacking the SCX - UniqueID
I've built a SCX hacking utility that reads the data from an SCX file, changes and replaces it. That works ok.
However, I now want to maintain a mirrored database against the forms that keeps additional information that can be mapped back later to the controls in the form. It would know what controls had been deleted from the form, and what had been added. Each time it was run, it would scan the SCX, and find which controls were no longer in the form, and which had been added, by using a unique control identifier from the form.
I was planning on using UNIQUEID, but find that in fact it isn't unique. I've also found some references that say it can change later, after the control was created. If UniqueID id not unique, what is it used for within FoxPro?
I was thinking about using objectname+parent+UNIQUEID, but even that might have duplicates under some circumstances.
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only