This is a discussion on Re: PERFORM question within the Informix forums, part of the Database Server Software category; --> There is a simple example in the manuals on how to do what you need with perform. It involves ...
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| There is a simple example in the manuals on how to do what you need with perform. It involves C but it is very easy. Chucho! Five Cats wrote: > In message <RH3Ob.14102$zj7.10803@newsread1.news.pas.earthlin k.net>, > Jonathan Leffler <jleffler@earthlink.net> writes > >>Five Cats wrote: >> >>>OK you may think this is 'out-of-the-ark-ware'! >>> But does anyone know a way (other than a bespoke C function which I >>>want to avoid!) of getting a PERFORM form to default a test field to >>>$LOGNAME e.g. USER? >> >>Does a standard routine provided with the system as an example of how >>to write a routine to add to Perform count as bespoke or not? One of >>the three canonical examples of how to extend Perform is precisely a >>username() function, unless my memory is completely shot to pieces. >> >>Succinctly - No. > > > Fine. I *think* the C-compiller is still working on the machine - not > my machine if anyone is wondering. I've done it before - just so long > ago I will have to look it all up again! In a way it's bizarre that > CURRENT and TODAY work as defaults, but USER doesn't. > > Thanks for the succinct answer! > > -- Atte, Jesús Antonio Santos Giraldo jeansagi@myrealbox.com jeansagi@netscape.net sending to informix-list |
| Thread Tools | |
| Display Modes | |
|
|