Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Data Structure
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Kym Kovan  
View profile  
 More options Jul 28 2011, 4:23 am
From: Kym Kovan <k...@mbcomms.net.au>
Date: Thu, 28 Jul 2011 18:23:07 +1000
Local: Thurs, Jul 28 2011 4:23 am
Subject: Re: [DataMgr] Data Structure
On 28/07/2011 4:04 AM, Skellington wrote:

> Hello,
> I would like to use the insert record function but I'm not using a
> form struct. What do I need to do to specify the data struct so that I
> can take advantage of this feature?

this is one way to do it (copied from the first bit of code I saw so I
kludged the naming):-

<cfset theQueryDataArguments = StructNew() />
<cfset theQueryDataArguments.aFieldName = 0 />
<cfset theQueryDataArguments.anotherFieldName = arguments.aValue />
<!--- and save a new control entry --->
<cfset setStuff =DataMgr.InsertRecord(tablename="theTableName",
data=theQueryDataArguments) />

Is that what you wanted?

--

Yours,

Kym


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.