Benultra
Posts: 17
|
Posted: 08/06/2008, 2:24 AM |
|
I wondering if anyone else is having problems with Custom Update in version 4.0. Basically when using Datasource for the Primay key.
example below produces dspkExplorerID is variable undefined
CCSEventResult = CCRaiseEvent(CCSEvents, "BeforeUpdate", Me)
If NOT UpdateAllowed Then UpdateRow = False : Exit Function
With Command.WhereParameters
.ParameterSources("dspkExplorerID") = dspkExplorerID
End With
With Command.Parameters
.ParameterSources("ctrlFirstName") = FirstName.Value
.ParameterSources("ctrlLastName") = LastName.Value
.ParameterSources("ctrlEmail") = Email.Value
.ParameterSources("ctrlPassword") = Password.Value
.ParameterSources("ctrlRe_enter_Password") = Re_enter_Password.Value
.ParameterSources("ctrlMobileNo") = MobileNo.Value
.ParameterSources("ctrlHomePhoneNo") = HomePhoneNo.Value
.ParameterSources("ctrlWorkPhoneNo") = WorkPhoneNo.Value
.ParameterSources("ctrlStreetAddr1") = StreetAddr1.Value
.ParameterSources("ctrlSuburb1") = Suburb1.Value
.ParameterSources("ctrlCountry") = Country.Value
.ParameterSources("ctrlState1") = State1.Value
.ParameterSources("ctrlPostcode") = Postcode.Value
.ParameterSources("ctrlOrgID") = OrgID.Value
.ParameterSources("ctrlLast_Updated") = Last_Updated.Value
.ParameterSources("ctrlLast_Updated_By") = Last_Updated_By.Value
.ParameterSources("ctrlRefferalID") = RefferalID.Value
End With
Any thougts
|
|
|
Oper
Posts: 1195
|
Posted: 08/06/2008, 7:39 AM |
|
Instead of copy/paste could take a Picture or Snapshop of that part of the code and postit?
Its Light Grey or White that part of the code?
_________________
____________________________
http://www.7bz.com (Free CMS,CRM Developed in CCS)
http://www.PremiumWebTemplate.com
Affiliation Web Site Templates
Please do backup first |
|
|
|