Very Hot Topic (More than 25 Replies) F000 Oh brother! (Read 4120 times)
Infinity
Senior Member
Members
*****
Offline


Diagonally parked in a
parallel dimension

Posts: 1290
Location: Massachusetts
Joined: May 27th, 2005
F000 Oh brother!
Mar 29th, 2006 at 9:05pm
Print Post Print Post  
Familiar situation?  Post-Q&A translation = LOTS of F000* elements.  It'd be a PITA to name all these buggers in Q&A's Set Field Names because most of them are going bye-bye when I re-program other elements in Sesame.  But until that re-programming happens (and, in fact, to allow that re-programmiong to happen) I need to muck with them.

So, advice?  Best/easiest/fastest way to identify and jump to, say, F0058 on a form with dozens of F000's? 

  

**
Captain Infinity
Back to top
IP Logged
 
Ray the Reaper
Global Moderator
Members
Lantica Support
*****
Offline


The One & The Only

Posts: 2482
Joined: Aug 20th, 2003
Re: F000 Oh brother!
Reply #1 - Mar 29th, 2006 at 9:30pm
Print Post Print Post  
Hello Scott,

An easy way to identify that element on your form is to run a Mass Update that changes the background color of that element to bright green, or some other color that sticks out on your form.

You could also write a Mass Update that goes through every element and changes it's label to be it's element name. Run it and then print out the form. This way you have a hard copy of the form that shows you where every element is and what it's name is.

-Ray
  

Raymond Yoxall Consulting
ray.yoxall@gmail.com
ryoxall@lantica.com
Sesame Applications, Design and Support
Back to top
IP Logged
 
Infinity
Senior Member
Members
*****
Offline


Diagonally parked in a
parallel dimension

Posts: 1290
Location: Massachusetts
Joined: May 27th, 2005
Re: F000 Oh brother!
Reply #2 - Mar 29th, 2006 at 9:33pm
Print Post Print Post  
Ray,

That second idea sounds great.  But I'm not too familiar with Sesame's Mass Update procedure, and have no idea what command I would use to have element labels change to their names.  A bit more hand-holding, please?
  

**
Captain Infinity
Back to top
IP Logged
 
Ray the Reaper
Global Moderator
Members
Lantica Support
*****
Offline


The One & The Only

Posts: 2482
Joined: Aug 20th, 2003
Re: F000 Oh brother!
Reply #3 - Mar 29th, 2006 at 9:58pm
Print Post Print Post  
Hello Scott,

Open Sesame
Open your DB file
Open Search/Update
Type "Max 1" without the quotes in an element
Hit F10
Enter the code below in the Mass Update program editor
Run the Mass Update
Hit F10 again to enter extend mode
Expand Record commands
Expand Printing commands
Choose Print Form

This will print out your form with the labels of every element set to the name of that element. The reason to enter extend mode is so that the form that is printed has no record data on it, as all you need is the names.

Code
Select All
Var vElements as String
Var vCnt as Int
Var vLoop as Int
Var vName as String

vElements = @StringArrayElementlist()
vLoop = 1
vCnt = @CountStringArray(vElements)

while vLoop <= vCnt
{
	vName = @AccessStringArray(vElements, vLoop)
	SetThisElement(vName)
	Label(ThisElement, vName)
	vLoop = vLoop + 1
}
UnSetThisElement() 



Mass Updating is covered in the Sesame 1.1 User Guide on pages 263-283.

-Ray
  

Raymond Yoxall Consulting
ray.yoxall@gmail.com
ryoxall@lantica.com
Sesame Applications, Design and Support
Back to top
IP Logged
 
Infinity
Senior Member
Members
*****
Offline


Diagonally parked in a
parallel dimension

Posts: 1290
Location: Massachusetts
Joined: May 27th, 2005
Re: F000 Oh brother!
Reply #4 - Mar 30th, 2006 at 2:56pm
Print Post Print Post  
Woo hoo!  Thanks Ray!  Take a raise out of Petty Cash and tell them Captain Infinity said it was OK!

New things you have taught me (or started me towards learning):
* Max 1
* Extend Mode (I'm going to have to read up on this as I have no idea what it is, but it looks very useful)
* Printing commands hiding under Record commands.

I'll have to play around with the printout setting a bit, because this "form" was actually 10 pages of Q&A, so when it prints formatted for a single page it all becomes a blur of gray down the middle of the paper.  But just seeing the element names on the screen is very helpful.

Thanks again!

(By the way, before I read your detailed answer I was playing around with
Code
Select All
Label(ThisElement,@Label(ThisElement)) 

in the Global Code section of the Mass Updater.  It didn't do a darned thing but the program editor was happy with it.  Heh!
  

**
Captain Infinity
Back to top
IP Logged
 
Ray the Reaper
Global Moderator
Members
Lantica Support
*****
Offline


The One & The Only

Posts: 2482
Joined: Aug 20th, 2003
Re: F000 Oh brother!
Reply #5 - Mar 30th, 2006 at 3:22pm
Print Post Print Post  
Hello Scott,

To get a multi-page printout in the current version, you will see an option under Printing Commands that says Print Form to HTML. Choose that option. Give it a file name. Your default browser will open and display that file. You can then print the form out from your web browser and it will be on as many pages as it takes.

The
Code
Select All
Label(ThisElement,@Label(ThisElement)) 


Did exactly what you told it to do. It set the Label of the current element to be the Label of the current element.

-Ray
  

Raymond Yoxall Consulting
ray.yoxall@gmail.com
ryoxall@lantica.com
Sesame Applications, Design and Support
Back to top
IP Logged
 
Infinity
Senior Member
Members
*****
Offline


Diagonally parked in a
parallel dimension

Posts: 1290
Location: Massachusetts
Joined: May 27th, 2005
Re: F000 Oh brother!
Reply #6 - Mar 30th, 2006 at 3:37pm
Print Post Print Post  
Quote:
Print Form to HTML.


There we go!  Thanks again.

Quote:
The Code:
Label(ThisElement,@Label(ThisElement))

Did exactly what you told it to do. It set the Label of the current element to be the Label of the current element.


Well super, I succeeded at something completely pointless.  Just one more thing to add to the list.  YAY!
  

**
Captain Infinity
Back to top
IP Logged
 
Infinity
Senior Member
Members
*****
Offline


Diagonally parked in a
parallel dimension

Posts: 1290
Location: Massachusetts
Joined: May 27th, 2005
Re: F000 Oh brother!
Reply #7 - Mar 30th, 2006 at 3:49pm
Print Post Print Post  
Firefox does not like the resulting HTML.  The browser printout is chopping off at one page.  When I do a Print Preview I can see fields and labels hanging in limbo under the single page.

Internet Explorer prints 4 pages with no problem.

This could be a concern in the future as Firefox is our company-wide default browser.
  

**
Captain Infinity
Back to top
IP Logged
 
Ray the Reaper
Global Moderator
Members
Lantica Support
*****
Offline


The One & The Only

Posts: 2482
Joined: Aug 20th, 2003
Re: F000 Oh brother!
Reply #8 - Mar 30th, 2006 at 4:03pm
Print Post Print Post  
Hello Scott,

In the future there is this little thing called Version 2.0 which allows you to print your form onto multiple pages in either direction, right from Sesame. So you could print your form on say 6 pages, two across and three down.

-Ray
  

Raymond Yoxall Consulting
ray.yoxall@gmail.com
ryoxall@lantica.com
Sesame Applications, Design and Support
Back to top
IP Logged
 
Infinity
Senior Member
Members
*****
Offline


Diagonally parked in a
parallel dimension

Posts: 1290
Location: Massachusetts
Joined: May 27th, 2005
Re: F000 Oh brother!
Reply #9 - Mar 30th, 2006 at 4:15pm
Print Post Print Post  
So my boss is passing through the office as I read this and I says to him, I says, "These guys!  They keep teasing me with all the great stuff that's gonna be in Version 2 that I could really use right now.  Sheesh!"

And he, never one to deny me tools I need, says, "Why can't we get it?"

And I have to tell him that it's NOT OUT YET, it's still in Beta, they keep packing stuff into it and it'll never be ready!  Aarrggh!

Anyway, it sounds like it's going to be one hell of an upgrade.  You folks do great work.  But I'm going to have to stop thinking about 2.0 and concentrate on the tools I have now.  The HTML thing is not too much of a worry as I won't need it until further down the road, and I've already found an alternate solution.  Thanks for the help with the field names.

Now...is there an easy way to find all the elements that have "restrictions" brought over from Q&A?  I want to eliminate most, if not all of these.
  

**
Captain Infinity
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: F000 Oh brother!
Reply #10 - Mar 30th, 2006 at 6:12pm
Print Post Print Post  
Hi Scott...

I use Firefox extensively with all of my accounts. 

Would be curious to see what is happening.  Any chance you can share the html file that is not printing properly? 

I would like to check that out here to see the results you mention.
  



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


No personal text

Posts: 115
Location: Strawberry, AZ  USA
Joined: Nov 30th, 2002
Re: F000 Oh brother!
Reply #11 - Mar 30th, 2006 at 6:16pm
Print Post Print Post  
I too use Firefox as well as Netscape and they both work just fine.
  
Back to top
 
IP Logged
 
Infinity
Senior Member
Members
*****
Offline


Diagonally parked in a
parallel dimension

Posts: 1290
Location: Massachusetts
Joined: May 27th, 2005
Re: F000 Oh brother!
Reply #12 - Mar 30th, 2006 at 6:27pm
Print Post Print Post  
See:
http://captaininfinity.us/workform.htm

I've fiddled with my page settings in numerous ways, and all I can get is a single page to print.  When I look at the form in preview, the fields and labels continue past the bottom of the imaged page, hanging in mid-air, for just a line or two.  Then the preview stops.

Let me know what you see, thanks.
  

**
Captain Infinity
Back to top
IP Logged
 
Ray the Reaper
Global Moderator
Members
Lantica Support
*****
Offline


The One & The Only

Posts: 2482
Joined: Aug 20th, 2003
Re: F000 Oh brother!
Reply #13 - Mar 30th, 2006 at 6:51pm
Print Post Print Post  
Quote:
So my boss is passing through the office as I read this and I says to him, I says, "These guys!  They keep teasing me with all the great stuff that's gonna be in Version 2 that I could really use right now.  Sheesh!"

And he, never one to deny me tools I need, says, "Why can't we get it?"

And I have to tell him that it's NOT OUT YET, it's still in Beta, they keep packing stuff into it and it'll never be ready!  Aarrggh!


My intention was not to tease you by telling you about the Form printing in 2.0. My intention was to let you know that in the future there will be an easier and simpler way to get a multi-page printout of your form. Version 2.0 is still in the Development stage at this point in time and has not entered the Beta cycle. It will be finished and it will be released.

Quote:
Now...is there an easy way to find all the elements that have "restrictions" brought over from Q&A?  I want to eliminate most, if not all of these.


A way to get a list on the screen of all of the elements that have restrictions is to...
Open Sesame
Open Add Data Mode
Look in the Spec Window in the Lower Left hand corner
It should say "Check Restrictions for YourFormName"
Down below that will be a list of all the elements that have restrictions

In Sdesigner 2.0 you can select all elements that have restrictions. I also believe that in the 2.0 Q&A translator you will have the option to tell Sesame to not translate over the Restrictions.

-Ray
  

Raymond Yoxall Consulting
ray.yoxall@gmail.com
ryoxall@lantica.com
Sesame Applications, Design and Support
Back to top
IP Logged
 
Infinity
Senior Member
Members
*****
Offline


Diagonally parked in a
parallel dimension

Posts: 1290
Location: Massachusetts
Joined: May 27th, 2005
Re: F000 Oh brother!
Reply #14 - Mar 30th, 2006 at 7:02pm
Print Post Print Post  
Quote:
My intention was not to tease you by telling you about the Form printing in 2.0.....It will be finished and it will be released.

I know, I was just teasing youWink

Quote:
A way to get a list on the screen of all of the elements that have restrictions is to...<snip>

Thanks Ray, that works well.

Quote:
In Sdesigner 2.0 you can...

Sigh.
  

**
Captain Infinity
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: F000 Oh brother!
Reply #15 - Mar 30th, 2006 at 8:38pm
Print Post Print Post  
Hello Scott.

I did get a major difference in Firefox vs. MSIE.

It appears that you may need to modify your HTML for compatibility.  IK usually check all HTML output against a set of standards.  This can be done at http://validator.w3.org/

When I ran your page, it reported that there were 33 errors.  The detaled report identifies the lines that have the problems, the nature of the problem, and the solution to the problem.

I suspect that if you fix all 33 problems, you will have acceptable output in Firefox.  And since you are using this page as a form vs. just text for reading, that the compliance needs may be more strict.  Different web page developer programs use different, sometimes proprietary techniques for "forms".  If you conform to these standards, you have a much better chance of always  providing the user with a usable web page.

Here is an except from their site:
Quote:
The Markup Validator is a free service by W3C  that helps check the validity of Web documents.

Most Web documents are written using markup languages, such as HTML or XHTML. These languages are defined by technical specifications, which usually include a machine-readable formal grammar (and vocabulary). The act of checking a document against these constraints is called validation, and this is what the Markup Validator does.

Validating Web documents is an important step which can dramatically help improving and ensuring their quality, and it can save a lot of time and money (read more on why validating matters). Validation is, however, neither a full quality check, nor is it strictly equivalent to checking for conformance to the specification.

This validator can process documents written in most markup languages. Supported document types include the HTML (through HTML 4.01) and XHTML (1.0 and 1.1) family, MathML, SMIL and SVG (1.0 and 1.1, including the mobile profiles). The Markup Validator can also validate Web documents written with an SGML or XML DTD, provided they use a proper document type declaration.

Why should I validate my HTML pages?

One of the important maxims of computer programming is: Be conservative in what you produce; be liberal in what you accept.

Browsers follow the second half of this maxim by accepting Web pages and trying to display them even if they're not legal HTML. Usually this means that the browser will try to make educated guesses about what you probably meant. The problem is that different browsers (or even different versions of the same browser) will make different guesses about the same illegal construct; worse, if your HTML is really pathological, the browser could get hopelessly confused and produce a mangled mess, or even crash.

That's why you want to follow the first half of the maxim by making sure your pages are legal HTML. The best way to do that is by running your documents through one or more HTML validators.


This service does not mean you have a "valid" web page, but it does check for compliance with correct HTML syntax.

So you may need to create your HTML file, correct it using the validator tools, then modify the source that generates your html file.   

I also ran your page through another validator at http://www.htmlhelp.com/tools/validator/. ; This also listed multiple errors, but does not provide as much information for correction.

The end result of this begs the question: When Sesame "prints a form" are they using a technique that uses proper HTML syntax for web page standards?  It is disturbing to see that two independant validators show so many errors.  Is this because output was intended as a report only, and not for web page publishing, so a lower standard is used?
« Last Edit: Mar 31st, 2006 at 6:47am by Bob_Hansen »  



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: F000 Oh brother!
Reply #16 - Mar 30th, 2006 at 9:00pm
Print Post Print Post  
We do appear to have a minor issue with closing the HEAD tag in the wrong place, but the issues reported by the validators are not causing the problem. Most of the validation errors are not meaningful. For example, we don't have an ACTION tag on the Form, but the Form is not intended to submit and has no script (action) it can run. Most of the errors are related to TEXTAREA attributes, which are being specified as part of the style instead of using the older HTML syntax.

The printing problem is caused by the fact that, while Firefox is rendering the page on screen just fine, it's print engine is not managing to translate to pages. This is because,in order to make it look like your Form, everything uses absolute positioning. The absolute positioning creates coordinates that are much longer than a page. It looks fine on screen, but Firefox can't figure out how to get it onto paper.
  

- Hammer
The plural of anecdote is not data.
Back to top
IP Logged
 
Ray the Reaper
Global Moderator
Members
Lantica Support
*****
Offline


The One & The Only

Posts: 2482
Joined: Aug 20th, 2003
Re: F000 Oh brother!
Reply #17 - Mar 30th, 2006 at 9:18pm
Print Post Print Post  
I just took a copy of Scott's HTML form and made it "Valid" in the eyes of the Markup Validator. Print Preview still only shows one page with items hanging off the page in both Netscape 7.2 and Firefox 1.5.0.1

-Ray
  

Raymond Yoxall Consulting
ray.yoxall@gmail.com
ryoxall@lantica.com
Sesame Applications, Design and Support
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: F000 Oh brother!
Reply #18 - Mar 31st, 2006 at 5:32am
Print Post Print Post  
Thanks for making that page "valid" Ray.  Can you send me the "valid" page?  I will submit this as a bug to Firefox.  Response there is not as quick as here (nothing is), but is much better than submitting for a change to MSIE.  I do know there will be a response.  I have had two earlier bugs corrected by them.

And thanks to Erika for the explanation about the text area of coding errors.  There definitely is a difference between a Sesame form and a web page form that needs a Submit, etc., so much less code is needed.
  



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: F000 Oh brother!
Reply #19 - Mar 31st, 2006 at 6:43am
Print Post Print Post  
Cancel my last request Ray. 

I modified the code myself to make it "valid".  Wanted to do some digging into this some more.  I am trying various combos ot rows/cols values, etc. to see impacts on different browsers.....Just one of those tech things I am now curious about, and need to get a better understanding.

Thanks to Scott for pointing this out.
Thanks to all others for the inputs.


  



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



Posts: 1351
Location: New Hampshire
Joined: Mar 11th, 2003
Re: F000 Oh brother!
Reply #20 - Mar 31st, 2006 at 2:00pm
Print Post Print Post  
FYI,

I just ran the validator on www.yahoo.com, and it came up with "Result: Failed validation, 295 errors".

www.google.com produced 50 errors. www.mozilla.com produced 4 errors.

Almost every page I tested produced errors, with the exception of their own site validator.w3.org (of course), and www.microsoft.com.

I even built a new page from scratch in FrontPage 2002 with very little info in it. I did not construct the HTML, I let the FrontPage interface do that for me, and that produced 2 errors.

I guess Sesame is not alone, most pages do seem to have errors.
  


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


Diagonally parked in a
parallel dimension

Posts: 1290
Location: Massachusetts
Joined: May 27th, 2005
Re: F000 Oh brother!
Reply #21 - Mar 31st, 2006 at 6:09pm
Print Post Print Post  
Quote:
I will submit this as a bug to Firefox.  Response there is not as quick as here (nothing is), but is much better than submitting for a change to MSIE.

I'd be interested in hearing what they say, if anything.

I guess now that everyone has had a look at the type of Q&A form I'm dealing with you probably have a better idea why I ask so many left-field questions.  You should see the programming!  Fifteen years years worth of added bells and whistles ("If I type in customer code 234 I need the Purchase order field to say '606587' and if it doesn't a message has to pop up to tell the user that Acme-Wiley needs a 6-digit P.O. starting with '6'.  Oh, and make the computer play "Yankee Doodle' when that happens, and make me a nice cup of tea."  "Yes boss, I'll get right on that.") that all need to be stripped out now JUST BECAUSE I CAN!  I'll add it back in later if it's needed.  Acme-Wiley hasn't used us since 1987!
  

**
Captain Infinity
Back to top
IP Logged
 
The Cow
YaBB Administrator
*****
Offline



Posts: 2530
Joined: Nov 22nd, 2002
Re: F000 Oh brother!
Reply #22 - Mar 31st, 2006 at 6:41pm
Print Post Print Post  
Quote:
I will submit this as a bug to Firefox.  Response there is not as quick as here (nothing is), but is much better than submitting for a change to MSIE.


Another Quote:
I'd be interested in hearing what they say, if anything.


I would not recommend that this be reported as a bug to Mozilla/Firefox. There is, as far as I can tell, no determinable "correct" behavior when attempting to print fields at absolute coordinates that are beyond arbitrary page coordinates. In other words, what firefox is doing is just as correct as what IE is doing - even if we don't like it.

The problem firefox and IE has to beat is that HTML/CSS is built to use an arbitrary resolution device (so that a browser, or a page of paper can each be addressed in scale without reference to the hardware capabilities of the device used to render the HTML). So, for example, lets say that IE has determined that the end of a page is at a Y coordinate of 1000. And further, the CSS dictates that a field is to be placed at a coordinate of 1100. IE, would then cause that field to be placed on a subsequent page at a Y coordinate of 100. But what would then be the behavior if a larger piece of paper? Would IE increase the page break to 2000, or would everything simply print larger?

Firefox fares no better. They have determined that the behavior of rendering that exceeds an arbitrary distance should be undetermined. The spec supports this, basically telling browser makers to do as they please unless otherwise specified. So, for example, a browser could determine that all coordinates fall within a single page, and scale accordingly.

Basically, all three approaches: print multiple pages (IE); fail if the coordinate exceed unspecified boundaries (Mozilla/Firefox); or scale so that the page encompasses all specified coordinates, are essentially "correct" behavior.

CSS will eventually take care of this. Print style sheets that determine this behavior are already in the next CSS spec, and are partially implemented in some browsers.

If you prefer the printing behavior of IE, and you are using a Windows based computer, the Print To HTML command does produce a HTML file that can be printed without using either browser by right clicking on that file and selecting "Print" from the right click menu.
  

Mark Lasersohn&&Programmer&&Lantica Software, LLC
Back to top
IP Logged
 
Infinity
Senior Member
Members
*****
Offline


Diagonally parked in a
parallel dimension

Posts: 1290
Location: Massachusetts
Joined: May 27th, 2005
Re: F000 Oh brother!
Reply #23 - Mar 31st, 2006 at 7:09pm
Print Post Print Post  
Quote:
If you prefer the printing behavior of IE, and you are using a Windows based computer, the Print To HTML command does produce a HTML file that can be printed without using either browser by right clicking on that file and selecting "Print" from the right click menu.

I had forgotten that, thanks for the reminder.

Is there a way to set Sesame to use IE as it's default HTML display program, or do the system setting override this?  I know I can use the Shell command to call IE with a command button, but can this be done from the built-in menus for "on the fly" printouts?
  

**
Captain Infinity
Back to top
IP Logged
 
Ray the Reaper
Global Moderator
Members
Lantica Support
*****
Offline


The One & The Only

Posts: 2482
Joined: Aug 20th, 2003
Re: F000 Oh brother!
Reply #24 - Mar 31st, 2006 at 7:20pm
Print Post Print Post  
Hello Scott,

Have a look at the SESAME_PRINT_PREVIEW_COMMAND Enviroment Variable on page 463 of the Sesame 1.1 User's Guide.

-Ray
  

Raymond Yoxall Consulting
ray.yoxall@gmail.com
ryoxall@lantica.com
Sesame Applications, Design and Support
Back to top
IP Logged
 
Infinity
Senior Member
Members
*****
Offline


Diagonally parked in a
parallel dimension

Posts: 1290
Location: Massachusetts
Joined: May 27th, 2005
Re: F000 Oh brother!
Reply #25 - Mar 31st, 2006 at 7:39pm
Print Post Print Post  
Quote:
SESAME_PRINT_PREVIEW_COMMAND

OK, thanks.  Working on it but I'm not there yet.  I set the system variable to "SESAME_PRINT_PREVIEW_COMMAND" and gave it a value of "C:\Program Files\Internet Explorer\iexplore.exe" (with the quotes because I lifted it right out of the icon's properties).

Then I followed previous instructions: Run mass update to display the field names, F10 for expand mode, Record Commands, Printing Commands, Print Form to HTML.

Still opens in Firefox.  Did a reboot in case the variable needed that.  Ditto.

What did I miss?
  

**
Captain Infinity
Back to top
IP Logged
 
Infinity
Senior Member
Members
*****
Offline


Diagonally parked in a
parallel dimension

Posts: 1290
Location: Massachusetts
Joined: May 27th, 2005
Re: F000 Oh brother!
Reply #26 - Mar 31st, 2006 at 7:49pm
Print Post Print Post  
However: it's working for my Reports - the previews are opening in IE.

Curious thing, though.  When I run a preview, a command window opens, then IE opens and shows the report.  Meanwhile, the command window is just a black screen (because it's shelling out to IE?  I dunno.)  Also meanwhile, my Sesame window is completely blank, staying that way until I close IE, whereupon the command window closes and the Sesame interface returns.

Is this normal behavior?
  

**
Captain Infinity
Back to top
IP Logged
 
Ray the Reaper
Global Moderator
Members
Lantica Support
*****
Offline


The One & The Only

Posts: 2482
Joined: Aug 20th, 2003
Re: F000 Oh brother!
Reply #27 - Mar 31st, 2006 at 7:58pm
Print Post Print Post  
Hello Scott,

Quote:
What did I miss?


You did not miss anything. I on the other hand missed that Print Form to HTML did not use that Enviroment variable and only reports opening in preview do.

-Ray
  

Raymond Yoxall Consulting
ray.yoxall@gmail.com
ryoxall@lantica.com
Sesame Applications, Design and Support
Back to top
IP Logged
 
Infinity
Senior Member
Members
*****
Offline


Diagonally parked in a
parallel dimension

Posts: 1290
Location: Massachusetts
Joined: May 27th, 2005
Re: F000 Oh brother!
Reply #28 - Mar 31st, 2006 at 8:03pm
Print Post Print Post  
No problem; you taught me something new and that's always good.  I'll certainly make use of it somewhere, somehow, down the line.

But now you've got me thinking...can a report be crafted that will do what Mass Update -> Print Form to HTML is trying to do?
  

**
Captain Infinity
Back to top
IP Logged
 
Ray the Reaper
Global Moderator
Members
Lantica Support
*****
Offline


The One & The Only

Posts: 2482
Joined: Aug 20th, 2003
Re: F000 Oh brother!
Reply #29 - Mar 31st, 2006 at 8:09pm
Print Post Print Post  
Quote:
However: it's working for my Reports - the previews are opening in IE.

Curious thing, though.  When I run a preview, a command window opens, then IE opens and shows the report.  Meanwhile, the command window is just a black screen (because it's shelling out to IE?  I dunno.)  Also meanwhile, my Sesame window is completely blank, staying that way until I close IE, whereupon the command window closes and the Sesame interface returns.

Is this normal behavior?


Yes that is normal behavoir. Sesame is shelling out to the command specified in the enviroment varaible.

-Ray
  

Raymond Yoxall Consulting
ray.yoxall@gmail.com
ryoxall@lantica.com
Sesame Applications, Design and Support
Back to top
IP Logged