Normal Topic [NOT REPR] Pgm "text" changes when LE name changes (Read 766 times)
Bob_Hansen
Senior Member
Members
*****
Offline


WOW, They have the Internet
on computers now!

Posts: 1861
Location: Salem, NH
Joined: Nov 24th, 2002
[NOT REPR] Pgm "text" changes when LE name changes
Sep 4th, 2007 at 8:17pm
Print Post Print Post  
Not Reproducible

Using Version 2.0.2
Just submitted following info as potential bug:

Quote:
I had a command button named New on form. I renamed the button to btnNew and Programming "text" was changed in @AskUser command.

Prompt changed from: "Sure you want to create a New Vendor?"
To: "Sure you want to create a btnNew Vendor?"

I know that the element names in the programming should change when renaming an element, but I thought that "text" in quotes should not change. I believe that Q&A worked as I described, "text" was not changed if it iincluded the name of a field.

After submitting I noticed that New also changed to btnNew in @MsgBox command.
« Last Edit: Sep 6th, 2007 at 2:40pm by Hammer »  



Bob Hansen
Sesame Database Manager Professional
Sensible Solutions Inc.
Salem, NH
603-898-8223
Skype ID = sensiblesolutions
Back to top
IP Logged
 
Hammer
YaBB Administrator
Lanticans
*****
Offline


Fire bad. Tree pretty.

Posts: 3436
Location: Ohio
Joined: Nov 22nd, 2002
Re: Pgm "text" changes when element name changes
Reply #1 - Sep 4th, 2007 at 8:39pm
Print Post Print Post  
Yes, we got your bug report. We'll take a look at it.
  

- Hammer
The plural of anecdote is not data.
Back to top
IP Logged
 
Bob_Hansen
Senior Member
Members
*****
Offline


WOW, They have the Internet
on computers now!

Posts: 1861
Location: Salem, NH
Joined: Nov 24th, 2002
Re: Pgm "text" changes when element name changes
Reply #2 - Sep 5th, 2007 at 4:02pm
Print Post Print Post  
Working with Ben this morning, I was unable to duplicate the problem.  I tried different sequences of adding a button element, renaming, saving, etc., but did not happen again.

This was real last night, will just need to wait until it is seen again. 
If anyone else sees this happening, can you please save a copy of the file to send to Ben?
And make a note here that it also happened to you.

Was using Version 2.0.2 and using code pasted from Sep 2007 Inside Sesame article on PopUp Dialogs to Add Records to Another Database.  It was that code where I first saw this happen.

Thanks for your help.
  



Bob Hansen
Sesame Database Manager Professional
Sensible Solutions Inc.
Salem, NH
603-898-8223
Skype ID = sensiblesolutions
Back to top
IP Logged
 
Bob_Hansen
Senior Member
Members
*****
Offline


WOW, They have the Internet
on computers now!

Posts: 1861
Location: Salem, NH
Joined: Nov 24th, 2002
Re: Pgm "text" changes when element name changes
Reply #3 - Sep 5th, 2007 at 4:04pm
Print Post Print Post  
AHA!
I may have just answered my own question.  I will need to do some testing, but it is possible that i renamed the element before I changed the Inside Sesame double quotes to "norma" quotes.  In that case, Sesame would not have recognized the quotes around the text that was changed. 

That sounds like a logical cause of the problem ...... stay tuned, will test later today/tonight.
  



Bob Hansen
Sesame Database Manager Professional
Sensible Solutions Inc.
Salem, NH
603-898-8223
Skype ID = sensiblesolutions
Back to top
IP Logged
 
Bob_Hansen
Senior Member
Members
*****
Offline


WOW, They have the Internet
on computers now!

Posts: 1861
Location: Salem, NH
Joined: Nov 24th, 2002
Re: Pgm "text" changes when element name changes
Reply #4 - Sep 5th, 2007 at 7:32pm
Print Post Print Post  
Aaargh!

That was not it.
Using code with Inside Sesame double quotes vs. "normal" quotes did not allow me to duplicate the problem.  Another good idea trashed.........

Will just have to wait for its next unexpected appearance.
  



Bob Hansen
Sesame Database Manager Professional
Sensible Solutions Inc.
Salem, NH
603-898-8223
Skype ID = sensiblesolutions
Back to top
IP Logged
 
Hammer
YaBB Administrator
Lanticans
*****
Offline


Fire bad. Tree pretty.

Posts: 3436
Location: Ohio
Joined: Nov 22nd, 2002
Re: Pgm "text" changes when element name changes
Reply #5 - Sep 5th, 2007 at 8:47pm
Print Post Print Post  
Bob,

Are you sure your quotes were closed when this happened? Sometimes I don't close my quotes and don't realize it until I run Test Program.
  

- Hammer
The plural of anecdote is not data.
Back to top
IP Logged
 
Bob_Hansen
Senior Member
Members
*****
Offline


WOW, They have the Internet
on computers now!

Posts: 1861
Location: Salem, NH
Joined: Nov 24th, 2002
Re: Pgm "text" changes when element name changes
Reply #6 - Sep 5th, 2007 at 9:22pm
Print Post Print Post  
That is certainly a possibility.

As I mentioned to Ben:
I was working with the Sep 2007 issue of Inside Sesame, PopUp Dialogs for Adding New Records to Another Database.

When doing Copy/Paste from Inside Sesame, the first thing I do is Search/Replace the double quote symbols.  I may have missed one at that time.  I further complicated it this month by copying the three code listings, one at a time as I read the explanation.  So I would copy/paste, then search/replace, then do my modifications, and run Test.  But because I did it piecemeal I was getting false error indications.  This is because when I was doing Test I did not have the entire code.  It wasn't until I copied the final listing that I realized the problems I had created for myself.

Hopefully, won't do that again, but I am sure I have done it before.  Embarrassed
  



Bob Hansen
Sesame Database Manager Professional
Sensible Solutions Inc.
Salem, NH
603-898-8223
Skype ID = sensiblesolutions
Back to top
IP Logged
 
Bob_Hansen
Senior Member
Members
*****
Offline


WOW, They have the Internet
on computers now!

Posts: 1861
Location: Salem, NH
Joined: Nov 24th, 2002
Re: Pgm "text" changes when element name changes
Reply #7 - Sep 6th, 2007 at 1:33am
Print Post Print Post  
That is certainly a possibility.

As I mentioned to Ben:
I was working with the Sep 2007 issue of Inside Sesame, PopUp Dialogs for Adding New Records to Another Database.

When doing Copy/Paste from Inside Sesame, the first thing I do is Search/Replace the double quote symbols.  I may have missed one at that time.  I further complicated it this month by copying the three code listings, one at a time as I read the explanation.  So I would copy/paste, then search/replace, then do my modifications, and run Test.  But because I did it piecemeal I was getting false error indications.  This is because when I was doing Test I did not have the entire code.  It wasn't until I copied the final listing that I realized the problems I had created for myself.

Hopefully, won't do that again, but I am sure I have done it before.  Embarrassed
  



Bob Hansen
Sesame Database Manager Professional
Sensible Solutions Inc.
Salem, NH
603-898-8223
Skype ID = sensiblesolutions
Back to top
IP Logged