Mar 15, 2000, 6:05 PM
Post #6 of 7
Opinions are everywhere, but I would like to share mine with you in an attempt to possibly save you some trouble.
You are attempting to pass a variable from form to form and you want to include the quotes with this variable "I think?".
You may want to consider the fact that this is a cosmetic and not a functionality fix and by going through this much trouble just don't seem right.
Some where along the way with in this script this data is stored to a file somewhere to help keep track of everything, and it would be safe to say that if not now, some time in the future your client would like to be able to have querys built against this data for reporting reasons.
What you will have if you continue down this path, is a bunch of data that will be harder and require more coding to search against. This is because of the need for quotes around a variable and by saving them directly in the variable all data saved to file will have the exact same beginning and ending "The quotes".
Yes this can be worked around by even more coding in the future, I just don't think someone would want to code in ways that would required more coding, resulting in even more work.
My personal objective outside of the clients objective is to try to write code that is reusable and by this being a cosmectic fix I belive you will be happier by making the changes in each script that produces the output instead of tring to but the changes in the variable.
Any way sorry for the long winded posting here, I am just tring to save you more work than really nessasary. If by some way this is offensive then I appoligize, but I hope not.