Page Index Toggle Pages: [1] 2  Send Topic Send Topic Print Print
Hot Topic (More than 10 Replies) Template (Read 5619 times)
SpencerWulwick
Senior Member
Members
*****
Offline



Posts: 677
Location: Wilton Manors, Florida
Joined: Jan 16th, 2005
Template
Oct 12th, 2009 at 9:02pm
Print Post Print Post  
Hi -

It has been so long since I designed a particular database that I am not sure what I did.  

I have a "state" field and no matter how the text is entered, it appears in capital letters e.g. GA

I checked the programming and did not use any for that element, so I assume there is a field template.  I cannot, however, find one, nor do a get a clue when I go to property viewer for that element, nor can I find anything in the programming manual on the use of templates.

So, I would like to know how to find out where/what it is.

My "problem" is that althought the state appears in dapital letters in the database it prints (in a merge document - using exported data) the way the text was entered; e.g. GA, Ga; ga; etc.

So, my next question would be how can I get it to print the way the text appears in the database.

Thanks!
  

- Spencer

    ** Practice random kindness & senseless acts of beauty!
Back to top
IP Logged
 
Hammer
YaBB Administrator
Lanticans
*****
Offline


Fire bad. Tree pretty.

Posts: 3436
Location: Ohio
Joined: Nov 22nd, 2002
Re: Template
Reply #1 - Oct 12th, 2009 at 9:12pm
Print Post Print Post  
Did you check the Format setting for that element, Spencer?
  

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



Posts: 677
Location: Wilton Manors, Florida
Joined: Jan 16th, 2005
Re: Template
Reply #2 - Oct 13th, 2009 at 3:19am
Print Post Print Post  
Erika -

Hi Smiley,

I did check the format setting and I did look under the format setting and clicked on the other tab (I forgot that I DID find an "entry template" there; however there was no value for an entry template).  I also went to the Property view, clicked on template and pressed F5 (because I know that pulls the current "value" into the field) but there was nothing.

Also, when I first checked for programming, I only checked the State element because it seemed to me that (had I used programming) I would have put it in the "On Element Exit" event.  And, indeed, when I exit the element (no matter how I enter the text), when I exit the field, it is changed to upper case.  

Anyhow (still feeling "foolish"), I went back and checked each and every programmed element and I could not find any programming affecting that field.

So my 3 original questions are still pending but, to me, they are now even more baffling than before.  My only "defense" is that "I plead senility."  lol

- Spencer




  

- Spencer

    ** Practice random kindness & senseless acts of beauty!
Back to top
IP Logged
 
Hammer
YaBB Administrator
Lanticans
*****
Offline


Fire bad. Tree pretty.

Posts: 3436
Location: Ohio
Joined: Nov 22nd, 2002
Re: Template
Reply #3 - Oct 13th, 2009 at 1:23pm
Print Post Print Post  
Spencer,

Select the State element.

Look at the Property Viewer (NOT the Property Editor).

Go to the Format Tab.

Tell me what it shows for Display Format, including the bit at the end between the square braces.



  

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



Posts: 677
Location: Wilton Manors, Florida
Joined: Jan 16th, 2005
Re: Template
Reply #4 - Oct 13th, 2009 at 3:31pm
Print Post Print Post  
Erika -

Just to be clear, I DID go to the Property Viewer but since I found nothing I just thought I would see if I could bring something up in the editor.

Also (while in the Property Viewer), I had also looked at the System setting (but never understand it).  I thought I would find the info in the entry template.

In any event, the Display Format shows:  Lorem ipsum dolor sit amet [SYSTEM]

I'm sure I will probably still need help till I get this through my head, but in the meantime, if you could tell me where I could find the "instructions" in the Sesame guides, it might just help shed some light, while I'm waiting for further assistance.

Thanks!

  

- Spencer

    ** Practice random kindness & senseless acts of beauty!
Back to top
IP Logged
 
Hammer
YaBB Administrator
Lanticans
*****
Offline


Fire bad. Tree pretty.

Posts: 3436
Location: Ohio
Joined: Nov 22nd, 2002
Re: Template
Reply #5 - Oct 13th, 2009 at 8:14pm
Print Post Print Post  
OK, so it's not your Format setting. SYSTEM will use your system defaults and the sample shows mixed case, so that's fine. Entry Templates don't really do this, so it's most likely programming. I know you checked for something affecting that value, but it may be a more general bit of code that doesn't specify that particular element name.

Are any of your other elements being forced to uppercase? Is ToUpper being called anywhere in your programming?
  

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



Posts: 677
Location: Wilton Manors, Florida
Joined: Jan 16th, 2005
Re: Template
Reply #6 - Oct 13th, 2009 at 9:08pm
Print Post Print Post  
Erika -

I know that I did SOMETHING to cause that element to be all uppercase, because I always want the state abbreviation to appear (and print) that way.

I just exported the programming to an ascii text file and searched for toupper - and it was not found.  

it works on element exit so something is causing it.  It does not occur in any other elements.  

Even though I realize you are saying that the entry template would not do this, I would still like to know where I can find information on what it does do (for future info, if nothing else) and, of course, I still need to resolve my initial problem.

Thanks!
  

- Spencer

    ** Practice random kindness & senseless acts of beauty!
Back to top
IP Logged
 
Hammer
YaBB Administrator
Lanticans
*****
Offline


Fire bad. Tree pretty.

Posts: 3436
Location: Ohio
Joined: Nov 22nd, 2002
Re: Template
Reply #7 - Oct 13th, 2009 at 9:11pm
Print Post Print Post  
According to the index, information on entry templates begins on page 144 of the User Guide.

If it's not formatting and it's not programming, then there is magic of some sort happening. Can we see this application?
  

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



Posts: 677
Location: Wilton Manors, Florida
Joined: Jan 16th, 2005
Re: Template
Reply #8 - Oct 13th, 2009 at 9:24pm
Print Post Print Post  
Sure; how and where should I send it?

(I'm sure it's not magic and that there is simply something I am overlooking).

Is there a way I could find the "date" the publications were produced.  I looked in both the user and programming guides and could not find anything on entry template (even in the index).  Is it possible I don't have the latest version?
  

- Spencer

    ** Practice random kindness & senseless acts of beauty!
Back to top
IP Logged
 
Hammer
YaBB Administrator
Lanticans
*****
Offline


Fire bad. Tree pretty.

Posts: 3436
Location: Ohio
Joined: Nov 22nd, 2002
Re: Template
Reply #9 - Oct 14th, 2009 at 12:02am
Print Post Print Post  
Send it to support@lantica.com.

Your manuals should have the version number on the cover.
  

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



Posts: 1351
Location: New Hampshire
Joined: Mar 11th, 2003
Re: Template
Reply #10 - Oct 14th, 2009 at 12:36am
Print Post Print Post  
Hammer wrote on Oct 14th, 2009 at 12:02am:
Send it to support@lantica.com.

Your manuals should have the version number on the cover.

Don't you mean "support@lantica.com"?   Wink
  


Carl Underwood
CDU Computer Consulting LLC
Epsom, New Hampshire
Back to top
IP Logged
 
Hammer
YaBB Administrator
Lanticans
*****
Offline


Fire bad. Tree pretty.

Posts: 3436
Location: Ohio
Joined: Nov 22nd, 2002
Re: Template
Reply #11 - Oct 14th, 2009 at 12:41am
Print Post Print Post  
Quote:
Don't you mean "support@lantica.com"?   Wink

That's what I said. Also, I'm sure I don't know what you're talking about.
<.<
>.>
  

- 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: Template
Reply #12 - Oct 14th, 2009 at 1:38am
Print Post Print Post  
Wow, a response only one minute after an edit.  Talk about fast! Cool
  



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



Posts: 218
Joined: Apr 7th, 2005
Re: Template
Reply #13 - Oct 14th, 2009 at 1:29pm
Print Post Print Post  
The issue that Spencer was running into was caused by having the text element's custom format set to 'Uppercase'. The custom formatting was telling Sesame to capitalize anything that was typed into that element.

To reset the formatting of a text element:

1) Open Sesame Designer
2) Open your DSR file
3) Enter design mode on your form
4) Left click on the 'State' element
5) Left click on the 'Format' tab of the Property Editor
6) Set the 'Display Format' dropdown to 'Custom Format'
7) Set the 'Text Format' dropdown to 'As Entered'
8) Click on the Save button at the top of the Sesame Designer window
9) Select 'Close Design Tab' from the 'Commands Menu'
10) Reconcile your design change

** For more information on Formatting Elements please refer to page 120 of the 2.0 Sesame User Guide.
  
Back to top
IP Logged
 
SpencerWulwick
Senior Member
Members
*****
Offline



Posts: 677
Location: Wilton Manors, Florida
Joined: Jan 16th, 2005
Re: Template
Reply #14 - Oct 15th, 2009 at 12:48am
Print Post Print Post  
AHA!  "Custom Format"  - so it wasn't magic after all.  That raises another question, however.  No matter how hard I tried I could not figure out any way to see this in the property VIEWER.  Shouldn't that be reflected - in the viewer - since it's crucial to the behavior of the element .... and how else could I tell that I had used that setting?

I know how to change it back but that takes me back to another question I asked.  If you use the custom format (don't know why I was hung up on Entry Template), is there a way to have it print as "viewed" i.e. ALL CAPS?

If not and I use programming instead (toupper) will THAT enable it to print as "viewed" i.e. ALL CAPS?

As for the Program/User Guides, I downloaded them from the web-site and do not see a version # or date issued anywhere.  

Thanks!
  

- Spencer

    ** Practice random kindness & senseless acts of beauty!
Back to top
IP Logged
 
Page Index Toggle Pages: [1] 2 
Send Topic Send Topic Print Print