Ok so what it is, is that In CF5 I used the generic form field editor. And the problem is that when I submit a new record, it complaining that I am not...
Autonumber fields you leave alone, let the DB play with that. To test this idea out, set up a test database/table in Access. Then do a simple insert. Make sure...
Hello, I am new and I am trying to re-construct a web page that used CF I have a page where you can select with check boxes all or some of the artists. when...
Ok i just tried that, it did work and autonumbered correctly. I am just here with my pants down. Forced to switch host over the holiday and then I using...
Ok, by using the local mx server, i figured out that I was on the wrong file that was giving me the error. I narrowed it down to the line items that it was...
I'm in the market for a basic, dependable CF host. Have been paying $35/year for years with a good host, but guessing there is better value out there. Any...
Hello All, In CF MX I am making a CFC where I set a constructor value and use that value as a default later in my code for another constructor. Example below: ...
Is this code auto generated? Because I would stop using <cfinsert with Form.FieldList which will include an ID_Field or RecordID which maybe going to your...
Hey Michael, Could you post your code? Most of OO-style CFC developers avoid the "constructor" area available outside of CFFunction blocks in CFCs and "glue"...
In between the <cfcomponent> tag and the first <cffunction place your public variables using <cfparam. See if that will do it. Then use what you have set up...
The "this" scope is public in 6.1+ Anywhere inside a CFC: this = public variables / unnamed = private var, arguments = local to method -joe ... -- For Tabs,...
... I am not sure I do. I had thought that a "variable" in a component, i.e. a constructor, could be declared AFTER the <component> tag but before the...
Michael, The version could be an issue - MX 6.0 had some very bad glitches that made OO-style work in CFCs painful. I'd recommend upgrading to 6.1. My...
Thx for the info! I upgraded to 6.1. I have found a work around but I think at this point it is my ignorance keeping it from working ideally. If I do this it...
... Thanks again for posting! If I understand OOP, once a property is set, it does not need a method to make it active once the object is istantiated. ...but...
ColdFusion Hosting Providers ColdFusion Hosting Providers' List brought to you by *** ColdFusion-HowTo: Yahoo's No. 1 and the biggest group for ColdFusion...
coldfusion-howto@yaho...
Jan 2, 2005 12:44 am
30502
<cfset staticResult = createObject("component", "myCFC.static")> // object <cfdump var="#staticResult#"> // return with hello the default // test <cfset...
Yeah it is auto generated code from studio CF5, which is kinda Y i am surprised that it doesn't work anymore. Ok so i played around with the code some more....
Thanks Joe and Michael. _____ From: melliott42 [mailto:melliott42@...] Sent: Saturday, January 01, 2005 8:52 PM To: coldfusion-howto@yahoogroups.com ...
I would just scoop out the part that's not working. i.e <cfinsert> part Or just <!---- comment it out ----> and drop in your time tested database insert using...
Hey Michael, ... You're sorta using an incorrect approach. Ummm...this may get long (seems to be a habit recently), but we'll need some background information...
... Lol....nope, not really. Public static members are generall considered bad. The only thing I really use public members for are transport objects via the...
Hey Dan, Hate to beat a dead horse, but your example isn't quite what a static member is. (Warning: if you're not Dan, and you don't care what a static member...
Joe, The example I give had the word static in it, but it was only a label. The example was closer to my public static Idea, but after thinking about it I...
... LOL, I can relate to that - last night I had an OOP-induced fit of insomnia. ... Not really procrastinating - sometimes when I try to sleep I get thinking...
Yeah right now I going to use disable the add button and link it to a CFinsert and then edit. The edit works. I figure out later when I get a chance to work...
Very useful posts all. Thanks for your snippets and comments. Though I am becomming more effective at CF I obviously have some gaps in my knowledge. Thanks, ...
Thanks Joe, This is off subject and into ActionScript 2.0, but since the queue is almost at zero. Would this be a good candidate for recursion? I remember for...