Why don't you create a structure that links form field names to database
field names and pass that structure and the form structure to your cfc.

Pascal

> -----Original Message-----
> From: sonicDivx [mailto:[EMAIL PROTECTED]
> Sent: 14 October 2004 19:57
> To: CF-Talk
> Subject: Passing form data to CFC, Array or Structure
>
> Hi,
>
> I am trying to decide which method to pass form data to a CFC that is
> going
> to add the data to a DB.
>
> My form field names are not the same as the database fieldnames so I
need
> to
> pass the following;
>
> formfield name | database fieldname | formfield value
>
> So Was going to do an Array but was wondering if doing a nested
Structure
> wouldn't be easier. Performance is a minor issue.
>
> Any thoughts
> Thanks
> Kevin
>
>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]

Reply via email to