I'm a expert user of v5 and save data was very easy because only you put model name and CF5 save only fields of array model name
But in CF6 I cant do it....
I have 5 fields
Field1 -> person[name]
Field2 -> person[address]
Field3 -> person[number]
Field4 -> book[title]
Field5 -> book[date]
And
I want save fields 1,2,3 in database persons
I want save fields 4,5 in database books
but CF6 save all the fields in the two databases
I try to change all options in save data but anyone do it
Can you help me ... ??
In Design
In CF6 i have to put model name in name?? person[name]
In CF6 I have to connect or disconnect new function "Save to database"
In Setup
Automanage the datatable-> yes/no ?
Autosave fields -> yes/no ??
Database table -> persons
Data provider -> ??
Model name - ??
But in CF6 I cant do it....
I have 5 fields
Field1 -> person[name]
Field2 -> person[address]
Field3 -> person[number]
Field4 -> book[title]
Field5 -> book[date]
And
I want save fields 1,2,3 in database persons
I want save fields 4,5 in database books
but CF6 save all the fields in the two databases
I try to change all options in save data but anyone do it
Can you help me ... ??
In Design
In CF6 i have to put model name in name?? person[name]
In CF6 I have to connect or disconnect new function "Save to database"
In Setup
Automanage the datatable-> yes/no ?
Autosave fields -> yes/no ??
Database table -> persons
Data provider -> ??
Model name - ??
Turn off "auto manage database"You need two save data actions, one for each table you want to save in. If those are your field names, then you should be able to (I think) use {data:person.[n]} as the data source and it will match those field names (name, address, number) to columns in your table. Then the same for book.
This topic is locked and no more replies can be posted.