just make a function that reset the form (to its default values) when the
submit button is clicked..
input type=button name=submit value=submit
onClick=runTheFunction()
function runThefunction(){
document.formname.reset();
document.formname.submit();
}
- Original Message -
From:
cfoutput
input type=text name=theTime value=#DateFormat(todayDate, ,
dd, )# size=30 onBlur=this.value='#DateFormat(todayDate,
, dd, )#';
/cfoutput
or
input type=text name=theTime value=#DateFormat(todayDate, ,
dd, )# size=30 READONLY
thats two methods
I know this is simple, but can't remember.
How do use a query to get list of column or field names. Using CF5.0
Thanks
~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription:
cfquery name=qName .
select * from someTable
/cfquery
cfoutput
#qName.columnList#
/cfoutput
Joe Eugene
Certified Advanced ColdFusion Developer
-Original Message-
From: Terry [mailto:[EMAIL PROTECTED]
Sent: Monday, March 10, 2003 9:32 PM
To: CF-Talk
Subject: How to get field
If you don't want to select any data, and just want the column names, use
cfquery name=qName .
select * from someTable
where myprimarykey is null
/cfquery
or where myprimarykey = #somevalueiknowwontexistinthetable#
cfquery name=qName .
select * from someTable
/cfquery
oi CF-Talk,!!
I have installed/uninstalled/removed dirs/rebooted/installed...etc a number of times.
my file extensions point to: C:\CFusionMX\runtime\lib\wsconfig\1\jrun.dll
but under wsconfig, I have no 1 directory.. I thought perhaps my copy of cfmx
was uh I dunno
old... so i
Check out http://mxdu.com
==
Peter Tilbrook
Internet Applications Developer
Australian Building Codes Board
GPO Box 9839
CANBERRA ACT 2601
AUSTRALIA
WWW: http://www.abcb.gov.au/
E-Mail: [EMAIL PROTECTED]
Telephone: +61 (02) 6213 6731
Mobile: 0439 401 823
Facsimile: +61 (02) 6213 7287
AMAZING
Regular readers to this list will be aware that I have been wrestling
with installing CFMX since last Friday to no avail. I decided to see
if Macromedia would back me up as a reseller and developer, and I called
their support line.
I got connected to their Manilla office and Pauline's
If you don't want to select any data, and just want the column names, use
or where myprimarykey = #somevalueiknowwontexistinthetable#
What happens.. if you dont have a primary key? out of luck?
select * from TableName where 1=0;
Joe Eugene
-Original Message-
From: S. Isaac Dealey
O does this sound familiar to me
I'm sorry Critz, I can only offer sympathy, because I have been
wrestling with this same problem since last Friday.
I'll save you some heartburn. Don't call Macromedia unless you have
US$500 lying around the place with nothing to do.
Cheers,
Michael
Did it stop working all of the sudden, or were there suspicious
circumstances...
My 1 dir contains:
jrun.dll
jrun.ini
jrunserver.store
README.txt
and a bunch of jrun log files.
Try reinstalling updater 2, I've found it useful for fixing an install
I've broken by deleting stuff I shouldn't have.
Michael, have you tried installing on another computer entirely?
--
mailto:[EMAIL PROTECTED]
Monday, March 10, 2003, 11:11:05 PM, you wrote:
MK AMAZING
MK Regular readers to this list will be aware that I have been wrestling
MK with installing CFMX since last Friday to no avail. I decided to
Thanks for your suggestion.
What would be the point of it? I'm sorry but I don't see the reason.
Can you elaborate a little for me?
I have two computers in my company. Only two. It's a one-person
company. The other computer is really small and old. It would be
really stretched to run the
I got connected to their Manilla office and Pauline's response was that
I couldn't even talk to a support person unless I paid US$500.
To all List Members who recommended calling MM Support to report BUGS.
Can you guys please contribute $500 to Mike, so we can this resolved :).
Yea right...
I got connected to their Manilla office and Pauline's response was that
I couldn't even talk to a support person unless I paid US$500.
Sorry Michael, but this is no suprise.
I downloaded IBM Websphere v5.0 evaluation version, which comes with 60 day
support,
had some simple issues with
I'm just thinking along the lines that there may be something wrong
with the computer, maybe a corrupted nic driver, or a somehow broken
IIS install...I've seen both of those cause many strange problems. The
Metabase can get corrupted, but IIS will still function to a point,
and corrupted nic
Actually, you CAN do this without needing to change security settings.
Just change the window opener's reference to TOP and then you can close
it.
script
window.open('popup.html','popWin','width=300,height=300');
window.opener=top;
window.close();
/script
This doesn't work on IE5 or Netscape
just do a WHERE 0 = 0
I just tested it out and it works
cfquery name=qName datasource=#dsndata#
select * from ModuleFeatures
where 0 = 0
/cfquery
cfoutput
#qName.columnList#
/cfoutput
outputs all the columns in that table
jay miller
Joe Eugene wrote:
If you don't want to select any
For installation support via email, use the following form:
http://www.macromedia.com/support/email/isupport/
It's free.
Christian
On Monday, March 10, 2003, at 11:11 PM, Michael Kear wrote:
AMAZING
Regular readers to this list will be aware that I have been wrestling
with installing CFMX
just do a WHERE 0 = 0
This will work for the purpose of getting the schema/columns, but it
brings back the entire Table Data.. because 0=0 leads to TRUE
The query has to lead to False like i suggested below.
select * from TableName where 1=0;
Which leads to false and brings back NO DATA, Just
OK, found the problem.
The .cfm files had an xml prolog - ?xml version=1.0 encoding=iso-8859-1?. If I
change the filename to .html they are indexed fine, prolog and all. If I remove the
prolog, the .cfm files get indexed.
This seems like a bug... I couldn't find mention of it anywhere on MM's
The .cfm files had an xml prolog - ?xml version=1.0
encoding=iso-8859-1?.
Yes, that prolog is Part of what makes an xml document valid.
I dont think DWMX puts that in any file, unless you tell it
to create an xml file.
Joe Eugene
-Original Message-
From: Kay Smoljak [mailto:[EMAIL
Mike, what's your phone number. I'll call you tommorrow (Wednesday) morning
and try and assist.
Cheeers!
==
Peter Tilbrook
Internet Applications Developer
Australian Building Codes Board
GPO Box 9839
CANBERRA ACT 2601
AUSTRALIA
WWW: http://www.abcb.gov.au/
E-Mail: [EMAIL PROTECTED]
Found this old piece of code hope it helps
CFSET Table = MyTable
CFSET Datasource= myDsn
CFSET dbusername= admin
CFSET dbpassword=
CFSET columnlist=
CFOBJECT type=COM name=MyConnection class=ADODB.Connection
action=CREATE
CFSET TEMP =
Yes you are right - I may have misunderstood.. .I thought what was
requested was merely getting column names.. nothing more.. so that was
the quick and dirty of it. Depending on what was needed - I thought it
may have helped..
I use that quick code if I just need to quickly sniff out the db -
This is a very generous offer from Peter. He's a good man. I've sent
him my phone number off-line.
SO many people have shown a willingness to help with this, I promise I
wont get it fixed and not post the solution here. I'm sure there are
plenty of people who want to know how it turns out.
201 - 226 of 226 matches
Mail list logo