Looking for something more robust than global variables

Hi,
The company I work for makes really big deals based on the Forms we develop,
and it makes me edgy to rely on :Global.variables to assign big amounts of money
to a field or another.
Maybe someone could direct me to a paper about a more robust scheme to run tests deciding what is going to happen next, like calling another form or populating another block?
Many thanks :-)
Message was edited by:
JeanParis

JeanParis,
I did a quick Google search, but didn't find any reference material on you question so I'll give you my personal preference. Bear in mind, it truly was a "quick" search. I'm sure there is information about this topic somewhere.
I use a Global Variable (GV) when a value is needed by significant number of Forms in the application. If the value of the is only needed by a few Forms, then I use a Parameter List. When I do use GVs, I only use them for as long as I need them. In other words, I'll assign the value of the GV to a Forms Block Item (base table or Control Block) or a parameter and then set the value of the GV to NULL. This ensures the value is only available "Globally" for as long as it is absolutely needed. This does cause a little extra work, but it make the Form safer in my opinion.
If I simply need to have access to a "Global Variable" within the scope of a single form, I prefer to use a Form Parameter (FP). I like using using FPs over a Control Block (CB) Item because there is less overhead (attributes of a FP) than with an Item (attributes of the Item) in a CB. I know this is nit-picking, but there is a cost associated with each attribute that is loaded into memory and I like to keep this cost to a minimum. (I suppose if you sub-classed your CB Item then it would share the attributes and reduce the overhead even more). I develop Forms for the web using Forms 10g so any time I can shave off the load-time of my Form is worth it to me.
Hope this helps.
Craig...
Message was edited by:
CraigB
Steve beat me to the punch. I like his option as well and have used this method a time or two. :-)

Similar Messages

  • Looking for a More Robust Address Book Application for Mac

    Hi-
    I have been assigned the task of consolidating all of our mailing lists into a single file. The final database will be 10,000 entries.
    Required:
    - normal address book fields (name address, phones, email)
    - six customizable fields (pull down menu or alpha)
    - easy print to Avery laser labels for bulk labels
    - easy print to Dymo label printer for one at a time labels
    - email bulk mail or export functionality to send bulk emails
    - interoperability with Apple Address Book, Apple Mail etc a plus
    Can the Apple Address Book do this or is there a third part application that will do the trick?
    Thanks in advance!
    LAHD

    Address Book is robust, but it's a contact manager, and you're wanting it to be a CRM application. There are a variety of CRM applications available some with sales tracking and others without:
    Daylite
    Redlien Account Executive
    I'm told the developer for Redlien is not actively working on the product anymore, but I have no confirmation of that from the company.
    You might also try reading this thread about these programs: Best CRM Tool for Mac. The first post was in 2006 and the most recent was in July 2008.
    Mulder

  • Looking for a more universal scripting language than AppleScript or Automator

    I want to learn a cross-platform/web scripting language to automate tasks, write scripts and with the potential to create programs and web apps.
    I am looking for something that:
    - is not a program with a GUI like Automator, iKey, Quickeys, Maestro... 
    - is more "universal" than Applescript, cross-platform
    - can be used to automate simple tasks in a simple way
    - can also be used to create more complex scripts, web apps and maybe, eventually, programs (with GUI)
    I've read about Javascript, Python, Ruby, PHP, Perl, C+, C++, Java and others, but I really don't know.
    - Java sounds pretty cool, Python too.
    - I'm not crazy about PHP or Perl, with Javascript, but some people swear by it
    - I don't know anything about C+, C++
    Does anyone have any suggestion(s)?  Please let me know if you need any more details.  Thank you.

    C, C++, Objective-C are nor scripting languages and will not help you do web pages. (Don;t know what C+ is).
    Forget Java it has lots of security problems and more and more users are disabling Java in their web browsers because of this. Developing in Java would be, in my opinion, a mistake.
    If you are doing any web works at all you will need to know some Javascript, no way around that.  But Javascript is actually not a bad language
    Note Java and Javascript are two totally separate languages that have nothing in common  but the first 4 letters of their names.
    So you are left with PHP, Perl, Python and Ruby.
    Dismissing PHP and Perl out of hand is a big mistake, They are both major players and you will run into them just about everywhere. If you are looking to do this for possible employment you will need to be familiar with them at least.
    Python and Ruby are both strong languages as well. I don't have a lot of experience with either so I can;t speak to their strengths  but  learnign either would not be a mistake.
    Knowing what your reasons are for asking this, personal use or for employment, might help refine the list some.
    regards
    Message was edited by: Frank Caggiano - Perl is also included in OS X by default. Not sure about PHP but I believe it also is. I agree TextWrangler would be a good editor for this type of work.

  • Hi. Does anyone know what video editing software is compatible with my MacBook - version 10.6.3? I am looking to edit films and already have Final Cut Pro, but am looking for something a little more basic and easier to use. Thanks. Vicki

    Hi. Does anyone know what video editing software is compatible with my MacBook - version 10.6.3? I am looking to edit films and already have Final Cut Pro, but am looking for something a little more basic and easier to use. Thanks. Vicki

    Hi Cereskit
    Thanks again for the message. I've done the updates and have the App Store on my desktop. I went into it and searched for imovie but couldn't find the basic imovie, which I presume is what I'd need for editing?, rather than imovie 11 for £10.49, which is for making trailers, it seems. Also, were you saying that imovie would be free?
    Vicki

  • What do you think about using exceptions for something more than errors

    if you look the java.lang.Exception description at the JDK javadoc, you can see the following text:
    "The class Exception and its subclasses are a form of Throwable that indicates conditions that a reasonable application might want to catch."
    ... we can�t see "error" word anywhere!!
    What do you think about using exceptions for something more than errors? Can be possible use them as a way for send information to upper layers?
    Thankx in regards...

    it seems that what you say is a functional way of achiveing that, yes
    but Exceptions are generally reserverd for "Exceptional" situations ie program messing up or invalid data
    it does require a fair bit of processor time to actually generate and throw an Exception.
    so, all in all its "better" to use "normal" condition flow control to achive what you want.. you can always return early, break loops, call methods to pass information

  • Looking for something similar to Slideshow Pro...

    I'm looking for something that my clients can upload their photos to a page on their website via some sort of admin interface such as Slideshow Pro had.  They have shut down their site.  They were Flash based, although you could still view the slideshows on any Apple device.
    I don't care if it looks like the slideshows that they created.  I'm just looking to have something of a lightbox, but I need the client to be able to upload their own, and change their own photos.
    I would like the admin interface to be online, so they don't have to upload an app to one computer.  I don't build my sites using Wordpress, so a Wordpress plugin is not an option.
    Thanks in advance for any help!

    I went ahead and purchased it anyway (about $80 US for the pro version which gives you online admin)!  Just seemed pretty easy.  No database setup even!
    I put a basic test page here: http://willowweb.ca/testPhotos.php 
    The Web admin is really simple.  Not as robust as Slideshow pro, but then again, I would take about an hour to show someone how to use it, and then a few months later, they would ask me to come back and show them again.  Doesn't look like I'll have that problem this time!
    It does show up on an Apple device, so it's definitely not Flash based. 
    Still trying to figure out the tools a bit, but doesn't look like a huge learning curve.  I will play around with it, and let you know whether I give it my thumbs up! 

  • Looking for something that converts various file formtats to TIFF

    Hi everyone,
    I am currently working on a project where I am expected to convert numerous files of various formats into 1 multipage pdf and 1 multipage tiff.
    I've been messing around a lot with iText (which i liked a lot because of how it was free) and I see how it can very nicely convert a multipage TIFF to a multipage PDF.
    Hence, I am looking for something that can convert files of various formats (i.e. doc, txt, jpg, pdf) to a multipage tiff.
    Thank you very much.

    Uh-huh. So what on earth would possess you to ask that question on a forum devoted to Java sound?
    I hope that a mod. might notice this thread and move it to a more appropriate forum.
    And since I am here, the Java forum for TIFFs would be JAI. Try looking through some threads there, for tips.
    Edited by: AndrewThompson64 on Jan 8, 2009 3:30 PM

  • Looking for something in the iPad/iPhone Airport App

    Hi
    I have been waiting for the airport utility for iPad/iPhone to come as I frequently travel with just my iPad and Airport Express. However, I have been unable to configure it when away from home.
    So, Apple has released a utility but it appears to be the most important feature for being on the road, that is, the ability to switch connection sharing (so you can hook up to a hotel system).
    Is it that I can't find it or it doesn't allow you to do it. In the iPad app, I am looking for the ability to switch between bridge mode and the other two.
    Thanks,
    Andrew

    Tesserex, thanks for the comment . Can you point to where in the utility I cna figure it to
    Share a public IP address
    Distribute a range of IP addresses, or
    Be off in Bridge mode?
    Thanks,I can't work it out.
    Re: Looking for something in the iPad/iPhone Airport App
    created by Tesserax in AirPort - View the full discussion
    The AirPort Utility App that is available with iOS 5 does pretty much everything that the Mac or PC versions do including controlling both the NAT & DHCP services to allow you reconfigure an AirPort as a bridge.

  • I'm looking for a very robust Contacts/calendar app.  Does anyone Know of one?

    I'm looking for a very robust Contacts/calendar app.  Does anyone Know of one?

    Have you had the opportunity to use a Palm PDA.  It's Contacts/Calendar has many features that the built in apps do not address. e.g significant dates can be set to remind every week, month, or year without having to enter them manually.  It can set up categories that can tie events/contacts together and can be sorted in different ways and searched in those ways.  This is just a sample of its functionality. 

  • Is apple tv the only item that can be connected to a tv for airplay to work?  Looking for something smaller for the office

    Is apple tv the only item that can be connected to a tv for airplay to work?  Looking for something smaller for the office

    How big do you believe an ATV is?  They are tiny compared to most devices.
    The ATV is the only AirPlay receiver, short of an actual AV receiver with AirPlay support, but those are MUCH larger.

  • What is the best program for designing event flyers? I am looking for something basic and simple.

    What is the best program for designing event flyers? I am looking for something basic and simple.

    Poor old Photoshop® is forever being put down when it comes to layout work, but it is perfectly capable, and can output a high quality print PDF the printer will be perfectly happy with.  OK you don't have the text flow between columns bells and whistles of InDesign and [spit] Publisher, but if you have a $10/month Photoshop/Lightroom subscription, instead of the $50/month full subscription, don't think you can't do a perfectly good flyer or poster.
    https://helpx.adobe.com/photoshop/how-to/align-objects-guides.html

  • Sometimes get error "looking for something on MobileMe?" after publishing via ftp server

    I published a website I created on iWeb via an ftp server.  Sometimes it works, but sometimes I get the error "Looking for something on MobileMe?"  My web host says all my settings are correct, so the problem is likely to be in iWeb.  How can I fix this?

    I use FatCow as both my domain registrar and my web host, a similar service to GoDaddy.  The FatCow tech support said all my settings were correct.  Here's a pic of the iWeb Site Publishing Settings page:
    When I try "Test Connection," it succeeds.
    I originally published using MobileMe, then switched to ftp using FatCow.  The ftp publishing worked at first, then I started getting the error message intermittently, now get it all the time.  The FatCow tech thought that something is likely to be imbedded in the code that is taking it to MobileMe.
    Thanks again for your help!

  • How do I change the image title when it is uploaded from iphoto to iweb. At the moment the image title is /shapeimage_1.png and I would like to put in something more relevant than just shapeimage?

    How do I change the image title when it is uploaded from iphoto to iweb. At the moment the image title is /shapeimage_2.png and I would like to put in something more relevant than just shapeimage_2?

    When you drag images from iPhoto to iWeb, iWeb retains the original filename.
    When you use a mask, iWeb creates a png file with the shapeimage name.
    So do not use a mask and crop your images before dropping them on the iWeb canvas.
    When you use an irregularly shaped mask, then png files are created. They have to be png because of the transparency of the shape.
    You can use a 3rd party application to create the png images yourself, and give them a proper name.
    Or use the published png files, rename them and drop them back onto the iWeb canvas, while first removing the previous images.

  • Looking for some more experience...

    Hi,
    I've had a interest in video for some time now and am looking for more opportunities to learn the craft than I can get from the various books and tutorial materials. I have shot some local event video but I work full time and going out and getting jobs is difficult. To that end, I'm hoping to locate someone in the Western MA or Northern CT areas who could use an occasional assistant to help out a shoot. I have my own equipment and basic editing facillities. Please feel free to contact me via my profile e-mail.
    Dan

    OWC has the Drobo for what seems like a good price (for a Drobo), and it is empty.
    http://eshop.macsales.com/item/Data%20Robotics%2C%20Inc%2E/DRBSHRB/
    A Drobo is like a RAID, except the data is redundantly stored using fancy built-in software, so you don't have to back it up to another location or worry about losing data if one drive fails. You can get more details at
    http://www.drobo.com/
    OWC sells most of their enclosures as a kit, where you add your own drive(s).
    http://eshop.macsales.com/shop/firewire/

  • Looking for a more suitable animation tool

    I've been creating animations from sprites in After Effects, with mixed results.  The input is a number of pixel art sprites (exported from elsewhere), and the output is a video, characters running around and interacting.  I have AFX doing quite a lot, but it's very awkward and I'm pretty sure it's the wrong tool for the job.  Can anyone either suggest better approaches, or more suitable software?  I'll describe what I'm doing now:
    - Many sprites are bodies or heads to combine, eg. a smiling or angry faces and walking or standing bodies.  I set the head position for each body sprite, so any head fits in the right place on any body (trivial rigging), then apply it with a script, so I can change the body and the head moves to the right place automatically.
    - Some sprites have multiple layers.  For example, while heads are normally on top of bodies, a body may have an arm raised, which needs to be above the head instead of below it.  I can create the extra layer for the body separately, and it works for any head.
    - I can set the draw order per-layer.  Usually, one character and all of its parts is drawn on top of another--body1, head1, body2, head2.  But, if two characters collide, handshake, or interact in other complex ways, I may want to draw both bodies, and then both heads, even though the heads and bodies are still anchored normally.  Some sprites may have multiple layers, eg. body, head, hands, legs.  (Z position hack...)
    - Individual layers can be adjusted separately, eg. to adjust the default head position downwards to give a nod.
    - Some sprites are hue shifted (hair color, clothing color) or have more complex adjustments applied, so I can reuse more sprites.
    (I'm only describing what I'm doing and not how.  I wrote more detail about what I'm actually doing in AFX and the specific issues I'm having, but it was too long and people can probably already guess the practical issues of using AFX like this.  I'll post more info if anybody asks.)
    The result is functional, but a real hassle to actually work with.  AFX is a compositing and effects tool and it's not really designed for animations, and only its scripting support has let me abuse it this much.  I don't know of a better tool, though--searches for animation tools mostly come up with things like Spine (authoring individual models for importing into games), and nothing suitable for creating complex video animations from sprite sets.
    There are probably many tools to do small pieces of this (sprite animation sequences, effects, scene animation, camera), but I'd really like to not split into a multi-tool workflow, since I want to experiment freely with a scene, not lay out an entire scene and then create it start to finish.  Does anyone have any suggestions (or better places to ask)?

    There are many other DTP applications:
    http://www.freeforum101.com/iworktipsntrick/viewtopic.php?t=137&mforum=iworktips ntrick
    You have to be more specific about what you are looking for.
    Peter

Maybe you are looking for

  • After upgrading to mavericks how can I connect my HP PSC 2510 photosmart all-in-one printer to my mac?

    After I upgraded my macbook air to mavericks, my HP PSC 2510 photosmart all-in-one printer doesn't connect to my macbook air.  When I try to launch the all-in-one installer from the HP CD that came with the printer, I get a message saying it cannot o

  • Smart style is not effecting in smartforms print preview

    Hi All,   i have created my smart style with HELVE font style and i have created paragraph formats for my smart style. And i assigned one of my paragraph format to header data-> standard format. I have used this smart style in my smart form. But whil

  • Replacement keys for MacBook Late 2008 Aluminum Unibody

    Is there any way to order replacement keys for the Late 2008 MacBook Aluminum Unibody model? I ordered and received a new Enter and Shift key from numerous Apple retailers, but they do not fit properly. They only fit and snap correctly on the MacBook

  • Duplicate itunes in my ipad

    I have found I now have a couple duplicates songs in my iPad. One of them is functional and plays music, the other one when I tap it turns over and shows the tracks, but when I tap the track, nothing happens. These duplicates are from songs I have pu

  • Please acknowledge-106557-106557:non ORACLE exception

    Hi everyone. I have created a form in which the required data gets displayed in the excel (.xls) file on clicking a button. When i run the form, I am getting error that is FRM-40735: WHEN-BUTTON PRESSED trigger raised unhandled exception ORA-106557.