Delete Error when asked to show more than 30 records in rela

Archived from the Xataface Users forum.

Aoirthoir — Mon Nov 27, 2006 5:20 pm

Hi Mr. Steve,

On occasion if we try to display more than the thirty records by putting a value in the box, say 50 instead of 30, and hitting enter it asks if we want to delete the records. Here is the msg:

Are you sure you want to remove the following records from the relationship ‘notes_dme’?

Warning: Invalid argument supplied for foreach() in /lib/dataface/Dataface/RemoveRelatedRecordForm.php on line 181

Also delete record(s) from database?

Thank you kindly.


shannah — Mon Nov 27, 2006 6:19 pm

Thanks.. just fixed in in my local copy… I’ll send out the fix tomorrow.

For now, the field will still work if you “tab” out of it instead of hitting enter. (or if you use the field at the top of the list instead of the bottom).

-Steve


Aoirthoir — Mon Nov 27, 2006 6:24 pm

thank you kindly.