Mar 26
Marc Pinnell DS -> onduplicate
Mar 26, 2016; 13:48
Marc Pinnell
DS -> onduplicate
Struggling with Ke's wonderful DS system in regards to updates if key exists structure. I want to update an existing row and if not there, create a new one. What I am currently using (that needs to be changed):
site_ds->keycolumn('refassign_Key')
->addrow(::games_refs,
map(
::refassign_Key = lasso_uniqueid,
::gameID = ...something from form...,
::ctr = ...something from form...,
::ar1 = ...something from form...,
::ar2 = ...something from form...,
::mentor = ...something from form...
)
)
What I am struggling with is where the "->onduplicate(true)" gets inserted. OR can it even be used in this structure (I know the key structure will need to be changed a bit)?
Tried adding it in place of the ->addrow. Tried before the ->addrow. But lasso just throws a Definition Not Found: ds->onduplicate
Help!
marc
Marc Pinnell
1027 Design
PO Box 990872
Redding, CA 96099-0872
530.941.4706
fax: 866.232.5300
www.1027Design.com
#############################################################
This message is sent to you because you are subscribed to
the mailing list Lasso Lasso@lists.lassosoft.com
Official list archives available at http://www.lassotalk.com
To unsubscribe, E-mail to: <Lasso-unsubscribe@lists.lassosoft.com>
Send administrative queries to <Lasso-request@lists.lassosoft.com>
Mar 26
Steve Piercy - Website Builder Re: DS -> onduplicate
Mar 26, 2016; 14:36
Steve Piercy - Website Builder
Re: DS -> onduplicate
Mar 26
Ke Carlton Re: DS -> onduplicate
Mar 26, 2016; 22:15
Ke Carlton
Re: DS -> onduplicate
Mar 26
Marc Pinnell Re: DS -> onduplicate
Mar 26, 2016; 16:25
Marc Pinnell
Re: DS -> onduplicate
Mar 27
Jolle Carlestam Re: DS -> onduplicate
Mar 27, 2016; 09:59
Jolle Carlestam
Re: DS -> onduplicate
Mar 27
Ke Carlton Re: DS -> onduplicate
Mar 27, 2016; 22:17
Ke Carlton
Re: DS -> onduplicate
Mar 27
deco rior Re: DS -> onduplicate
Mar 27, 2016; 17:07
deco rior
Re: DS -> onduplicate
Mar 28
Ke Carlton Re: DS -> onduplicate
Mar 28, 2016; 03:48
Ke Carlton
Re: DS -> onduplicate
Mar 28
Marc Pinnell Re: DS -> onduplicate
Mar 28, 2016; 07:32
Marc Pinnell
Re: DS -> onduplicate
Mar 28
Steve Piercy - Website Builder Re: DS -> onduplicate
Mar 28, 2016; 12:35
Steve Piercy - Website Builder
Re: DS -> onduplicate