Normal Topic XResultSetOpenForm ( ) and Tab Name (Read 1293 times)
Bharat_Naik
Senior Member
Members
*****
Offline


Ever ready to learn and
share

Posts: 1202
Location: Chicago,  Illinois
Joined: Dec 16th, 2003
XResultSetOpenForm ( ) and Tab Name
Jul 15th, 2008 at 8:06pm
Print Post Print Post  
I like XResultSetOpenForm ( ) very much and use it quite a bit from mainmenu with the Database and form named Menu.  It is very quick (displays Instantly) so long as the the form is already open in the Search / Update mode. However, there is one little problem with the name of the tab displayed at the bottom. Instead of displaying name of the form or the database that form belongs to, it displays name for the database the command is originated. Since all forms are opened from Menu, all tabs will display for open forms like, Search/Update Menu, Search/Update Menu, Search/Update Menu instead of Search/Update Customer, Search/Update Invoice, Search Update Product. I understand that XResultSet ( ) commands bypass forms and so, I do not expect them to display name of the form (that would be even better, well it is displaying the form anyway!!!) but atleast it can display the name of the database the form belongs to.  Am I making sense?
« Last Edit: Jul 15th, 2008 at 10:10pm by Bharat_Naik »  
Back to top
 
IP Logged
 
Bharat_Naik
Senior Member
Members
*****
Offline


Ever ready to learn and
share

Posts: 1202
Location: Chicago,  Illinois
Joined: Dec 16th, 2003
Re: XResultSetOpenForm ( ) and Tab Name
Reply #1 - Jul 16th, 2008 at 6:09pm
Print Post Print Post  
Is there any way to custom name the tabs at the bottom for the work-around to find out which tab to click in order to open up the respective form? Thanks.
  
Back to top
 
IP Logged
 
olddog
Member
*
Offline



Posts: 35
Joined: Jan 19th, 2008
Re: XResultSetOpenForm ( ) and Tab Name
Reply #2 - Jan 18th, 2009 at 3:05am
Print Post Print Post  
have you tried AddToTransitionTable?
  

trying to learn a new trick
Back to top
 
IP Logged
 
Bharat_Naik
Senior Member
Members
*****
Offline


Ever ready to learn and
share

Posts: 1202
Location: Chicago,  Illinois
Joined: Dec 16th, 2003
Re: XResultSetOpenForm ( ) and Tab Name
Reply #3 - Feb 6th, 2009 at 10:01pm
Print Post Print Post  
I still having problem with this one. This is basically just the labeling of the Sesame Tab Name when using XResultsetOpenform ( ) command. If I I open say 3 forms from Menu (form name being Menu),

1. (Dabase/form) Physical/phsical
2. Index/Patient
3. Medicine/Med

All tabs will be named as Search/Update Menu.

I would expect it to name as

1. Search/Update Physical (If form is listed) or Search/Update Physical (if atleast database is listed)
2. Search/Update Patient (If form is listed) or Search/Update Index (if atleast database is listed)
3. Search/Update Med (If form is listed) or Search/Update Medicine (if atleast database is listed)

I am still using version 2.06, going to update to 2.1 soon.

Thanks.
  
Back to top
 
IP Logged
 
Hammer
YaBB Administrator
Lanticans
*****
Offline


Fire bad. Tree pretty.

Posts: 3436
Location: Ohio
Joined: Nov 22nd, 2002
Re: XResultSetOpenForm ( ) and Tab Name
Reply #4 - Feb 7th, 2009 at 12:47pm
Print Post Print Post  
Hi Bharat,

This is a bug. I know it's been fixed, but I don't have the change log here so I'm not sure if it's fixed in 2.1.
  

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



Posts: 1350
Location: New Hampshire
Joined: Mar 11th, 2003
Re: XResultSetOpenForm ( ) and Tab Name
Reply #5 - Feb 8th, 2009 at 3:44am
Print Post Print Post  
Hammer wrote on Feb 7th, 2009 at 12:47pm:
Hi Bharat,

This is a bug. I know it's been fixed, but I don't have the change log here so I'm not sure if it's fixed in 2.1.

Yes it was fixed in 2.1, I just verified it. Smiley

(BTW, it gives the name of the form itself, not the database, which is what I believe you wanted, Bharat.)
  


Carl Underwood
CDU Computer Consulting LLC
Epsom, New Hampshire
Back to top
IP Logged
 
Bharat_Naik
Senior Member
Members
*****
Offline


Ever ready to learn and
share

Posts: 1202
Location: Chicago,  Illinois
Joined: Dec 16th, 2003
Re: XResultSetOpenForm ( ) and Tab Name
Reply #6 - Feb 8th, 2009 at 2:42pm
Print Post Print Post  
Carl, thanks for verifying. I am going to install ver 2.1 over the weekend. Since the application is working well, I did not want to disturb by updating but it is time now anyway.
  
Back to top
 
IP Logged