close ad
Install the LAtest Updates to Work with CC 2017 and CC 2018
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Web Assist Update Multiple record only updating 1 record, Form is enctype

Thread began 3/02/2010 9:21 pm by lightwalkercreations361768 | Last modified 4/08/2010 3:21 pm by Jason Byrnes | 1084 views | 3 replies |

lightwalkercreations361768Beta Tester

Web Assist Update Multiple record only updating 1 record, Form is enctype

Dear WebAssist Support,

I am having trouble with updating multiple records using data assist. It will only update one record at a time. The form is a enctype as I also have a DFP upload server behaviour which I read in help is not able to be used.

Is this what is causing it? Do you possibly have a solution were I can still use DFP upload server behaviour and Data Assist update multiple records. I have included a zip containing the code.

Many Thanks for your help

Attached Files
ic_feastwithcode_extra3 copy.php.zip
Sign in to reply to this post

Jason ByrnesWebAssist

try changing line 673:

<?php } while ($row_FeastUpdateRs = mysql_fetch_assoc($FeastUpdateRs)); ?>




to:

<?php $RepeatSelectionCounter_1++; ?>
<?php } while ($row_FeastUpdateRs = mysql_fetch_assoc($FeastUpdateRs)); ?>
Sign in to reply to this post

lightwalkercreations361768Beta Tester

Two Update multiple record updates. One working the other only updates 1 at a time

Dear Webassist,

Thank you for your help. your support worked perfectly. I have now come across the same problem were I have needed to add two update multiple records server behaviours. The first updates perfectly. But the second only updates one at a time. I tried included the same code that you gave me to the second update multiple record server behaviour. But I am affraid it still only update one record at a time.

I have included the web page as an attachment. Many thanks as always for your help

Best Wishes

Sincerely

Aaron

Attached Files
ic_firstHCG(star).php.zip
Sign in to reply to this post

Jason ByrnesWebAssist

change 971 - 980:
<?php do { ?>
<tr>
<td><input type="hidden" name="WADA_RepeatID_HCGDailyReportID_<?php echo $RepeatSelectionCounter_2; ?>" id="WADA_RepeatID_HCGDailyReportID_<?php echo $RepeatSelectionCounter_2; ?>" value="<?php echo $row_HcgUpdateRs["HCGDailyReportID"]; ?>" />
<input name="hcgResponseID_<?php echo $RepeatSelectionCounter_2; ?>" type="hidden" value="<?php echo $row_HCGInsertRs['HCGDailyReportID']; ?>" /></td>
<td><input name="hCGStatusID_<?php echo $RepeatSelectionCounter_2; ?>" type="hidden" id="hCGStatusID_<?php echo $RepeatSelectionCounter_2; ?>" value="1" /></td>
<td><input name="hCGProgramID_<?php echo $RepeatSelectionCounter_2; ?>" type="hidden" id="hCGProgramID_<?php echo $RepeatSelectionCounter_2; ?>" value="<?php echo $row_ConnectUpdateRs['ICOrderID']; ?>" /></td>
<td></td>
</tr>
<?php $RepeatSelectionCounter_1++; ?>
<?php } while ($row_HcgUpdateRs = mysql_fetch_assoc($HcgUpdateRs)); ?>


TO:
<?php do { ?>
<tr>
<td><input type="hidden" name="WADA_RepeatID_HCGDailyReportID_<?php echo $RepeatSelectionCounter_2; ?>" id="WADA_RepeatID_HCGDailyReportID_<?php echo $RepeatSelectionCounter_2; ?>" value="<?php echo $row_HcgUpdateRs["HCGDailyReportID"]; ?>" />
<input name="hcgResponseID_<?php echo $RepeatSelectionCounter_2; ?>" type="hidden" value="<?php echo $row_HCGInsertRs['HCGDailyReportID']; ?>" /></td>
<td><input name="hCGStatusID_<?php echo $RepeatSelectionCounter_2; ?>" type="hidden" id="hCGStatusID_<?php echo $RepeatSelectionCounter_2; ?>" value="1" /></td>
<td><input name="hCGProgramID_<?php echo $RepeatSelectionCounter_2; ?>" type="hidden" id="hCGProgramID_<?php echo $RepeatSelectionCounter_2; ?>" value="<?php echo $row_ConnectUpdateRs['ICOrderID']; ?>" /></td>
<td></td>
</tr>
<?php $RepeatSelectionCounter_2++; ?>
<?php } while ($row_HcgUpdateRs = mysql_fetch_assoc($HcgUpdateRs)); ?>

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...