I run the following code and get an error.
!---THIS WORKS---
cffunction name=Ping returntype=string output=false
cfargument name=host type=string required=yes
!--- Local variables ---
cfset var pingClass=
cfset var pingReply=
!--- Get Ping class ---
cfobject
I just got an email from MarshallSoft on their new api program.
http://www.marshallsoft.com/mcm.htm
Client Mailer Features
â¢Uses macro substitution to personalize outgoing letters.
â¢Can send text or HTML letters.
â¢Supports multiple attachments.
â¢Can handle arbitrarily large lists of
SendGrid is a third part smtp host. They provied the analytics, deliverance,
tracking and increasing your deliverablity. They do not have connectors to
CRM. If you want that, take a look at SalesFusion which goes to both Dynamics
and Salesforce.
http://sendgrid.com/
I have been very pleased with CodeSmith. I wrote a template that dives into a
database and creates the 4 CRUD statements for every table in the database. I
am using SQL Server 2008, but it works with 2005 as well. I would be glad to
share the templates with you should you decide to use
Yes, the NOCOUNT may give you trouble. However, I noticed something else in
your sample code.
You are using #request.datasources# as your datasource for the query. If you
are referring to the http request, you could run into a problem if you decide
to put your function into a cfc. The cfc,
Maybe I am missing something. Why not just to it this way...
cfset rNum = 0
cfoutput query=searchresults
cfset rNum = rNum + 1
trcfif rNum MOD 2 EQ 0 class=alternaterow/cfif
...display td/td
/tr
/cfoutput
Nick
~|
Want to
html
!--- assume the javascript file my_own.js contains the following script. You
could have put it in a script tag on the page. The web server will deliver the
src file as though it were included on the page. So anything that appears in
the src file will be available to the browser.
I think I am hearing that you get a record set on the parent page and loop
through it showing the rows in a table. Then the user clicks a link for a
record and it opens a new window which edits that record, saves the result back
to the data store and then closes, updating the record on teh
Is it possible your are running on Linux and case sensitivity is an issue?
~|
Want to reach the ColdFusion community with something they want? Let them know
on the House of Fusion mailing lists
Archive:
I ran into the same problem. I assign datasource in the application.cfm and
then lose the connection string in the cfc. I believe the problem is that a
cfc is intended to run in a different machine as thought it were a web service.
As a result Cold Fusion does not carry the application state
While it is a bit extreme, I would give Everyone full control on the folder
where the docs resides. Short of that try giving the account that the CF
services run under full control.
I remember that there are a couple of wierdnesses when you run IIS 5 on XP.
You might want to put the docs
James,
I had the same problem. I was picking up a phone number from a flat file and
getting a float out of it. Most annoying.
I ended up with a function in TSQL. You can modify this to
use simialar padding on the area code as I did on the number.
I have had the exact same problem. My Active Directory is inside the firewall
and accesable with .net code from my dev machine. Here is the salient C#.
public static bool UserExists(string UserName)
{
//create an instance of the DirectoryEntry
DirectoryEntry de =
OK, I got it to work. It was the user name. It is wierd. My login account is
nstein, but cn is Nick Stein, so I have to use the latter in my CFLDAP.
Here is the code that works:
cfldap action=QUERY
name=GetUserInfo
attributes=givenName,sn,cn,name,dn
start=DC=codagenomics,DC=net
Thanks you all. I got it. Here it is, and it is vey cl!
Create this cfc on one machine with database access.
The output=No is important.
The access=remote is important.
The returntype=query is important
Save it as Vendors.cfc
!--- Vendors.cfc ---
cfcomponent displayname=Vendors
Here is an example for a dropdown list box. Checkbox should follow easily
enough.
!--- VendorSelectBox.cfm ---
html xmlns=http://www.w3.org/1999/xhtml;
head
titlecfdiv Example/title
/head
body
cfinvoke component=Vendor method=getVendor returnvariable=qVendors
cfinvokeargument
Anyone know how to call a cfc function on another machine?
Suppose I have a cfc in a file called vendor.cfc. When it resides on the same
machine as the web server, it is a piece of cake to call...
cfinvoke component=Vendor method=getVendor returnvariable=qVendor
cfinvokeargument
This should work and is much clearer that your original statement.
SELECT t.groupid,
t.groupimage,
t.groupname,
t.groupcity,
t.state,
t.voicingid,
t.groupcontactperson,
t.country,
t.region,
x.groupid,
Yes your problem is definitely a string to integer problem.
When you
select foundOn
from dbo.menu
where menuId=#form.selTopLevel2#
you are getting back a string. So when the rest of the statement is compiled
it would be as though you were doing this...
select menuId, label, foundOn
Since I am also a C# programmer, I wrote some templates in CodeSmith. I would
be happy to share. They might be a good starting point for you.
Here are the templates I have so far.
1. StoredProcedures.cst - Look at a MSSqlServer table and generate CRUD stored
procs.
2.
20 matches
Mail list logo