Hey there, Awesome Customers!

Just a heads up: Our team will be out of the office on Monday, November 11th in observance of Armistice Day, but don’t worry—we'll be back in full swing on Tuesday, November 12th.

In the meantime, you can explore our documentation for Amelia and wpDataTables. You'll find tons of helpful resources, including articles and handy video tutorials on YouTube (Amelia's YouTube Channel and wpDataTables' YouTube Channel), which might just have the answers you need while we’re away.

Thanks a bunch for your understanding and support!

Warm regards,

TMS

Okay
  Public Ticket #2093684
MS SQL Filter, Search and Delete Row does not work
Closed

Comments

  • badun started the conversation

    Dear Support,

    Kindly advise on troubleshooting options or advise with a solution regarding following issue. Got wpDataTables connected to MS SQL (php 7.2, odbc 17, SQL Server 12.0 ) Table with int (identity(1,1)), no primary key. Creating new record and editing existing works perfectly fine, however Filtering, Search and Delete row does not work, even if reporting (row deletion completed successfully).


    Thank you,

    Kind regards, 

    Vad.


  •  2,572
    Aleksandar replied

    Hello Vad.

    Thank you for your purchase.

    Issues like this usually occur when you're creating a table with multiple JOINS or CONCAT functions.

    Please provide me a temporary WP-admin login for your site where this happens, so we could log in and take a look ‘from the inside’ as that’s the most efficient way to see and resolve the issue. We do not interfere with any data or anything else except for the plugin (in case that’s a production version of the site), and of course we do not provide login data to third party. You can write credentials here just check Private Reply so nobody can see them except us.

    Also, please tell me what's the table ID, so I know where to look.

    Best regards.

    Kind Regards, 

    Aleksandar Vuković
    [email protected]

    Rate my support

    wpDataTables: FAQ | Facebook | Twitter | InstagramFront-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia demo sites | Docs | Discord Community

    You can try wpDataTables add-ons before purchasing on these sandbox sites:

    Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables

  •   badun replied privately
  •  2,572
    Aleksandar replied

    Hi again Vad.

    I am sorry to inform you that, unfortunately, Skype, Zoom and other types of support other than tickets is not included in the support of the plugin.

    What I can say, though, is that the query may be an issue here. Is this the query you used in our query box? If that is true, it needs to be changed.

    You must have a table created in your database, and please try avoiding the [ ] brackets. So, if you create a table like this:

    CREATE TABLE `JJEDS_functions`(
    [WWID] [int] NULL,
    [name] [nvarchar](255) NULL,
    [function_group] [nvarchar](255) NULL,
    [function] [nvarchar](255) NULL,
    [valid_from] [date] NULL,
    [valid_to] [date] NULL,
    [RecordID] [int] IDENTITY(1,1) NOT NULL
    ) ON [PRIMARY]
    

    you can create a table in wpDataTables like this:

    SELECT * FROM JJEDS_functions

    And that should work just fine.

    The query above may not be correct, but you see what I mean.

    Best regards.

    Kind Regards, 

    Aleksandar Vuković
    [email protected]

    Rate my support

    wpDataTables: FAQ | Facebook | Twitter | InstagramFront-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia demo sites | Docs | Discord Community

    You can try wpDataTables add-ons before purchasing on these sandbox sites:

    Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables

  •   badun replied privately
  • badun replied

    Figured out what is the issue with filtering and search - wpDataTables ignores schema name, considering all schemas are "dbo". Using non-dbo schema in MS SQL breaks filtering and search functionality. Please fix.


    I've tested that by creating 2 identical tables dbo.test and dba.test; dbo.test works perfectly fine, but dba.test with the same wpDataTables conditions does not work. 

  •  2,572
    Aleksandar replied

    Hello badun.

    Thanks for the update. 

    We've never had issues with this until now, or at least it wasn't reported to us. I will forward it to our development team, to see if there's anything they can do to correct the issue.

    Best regards.

    Kind Regards, 

    Aleksandar Vuković
    [email protected]

    Rate my support

    wpDataTables: FAQ | Facebook | Twitter | InstagramFront-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia demo sites | Docs | Discord Community

    You can try wpDataTables add-ons before purchasing on these sandbox sites:

    Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables

  • badun replied

    Hi Aleksandar,

    My name is Vad, not badun.

    Please, kindly provoide an answer to my second question - There is a message "row has been successfully deleted" but no deletion happen while pressing on Delete row in wpDataTables connected to MS SQL.

    All requirements are completed.



  •  2,572
    Aleksandar replied

    Sorry Vad.

    Usually these issues occur when there's something wrong with the table in the database. For instance - if you haven't configured a unique, primary column, or some other setting got stuck and is not allowing the table to delete the row, but it returns a message that it does.

    Please provide me a temporary WP-admin login for your site where this happens, and also PHPMyAdmin (C-Panel) access, so we could log in and take a look ‘from the inside’ as that’s the most efficient way to see and resolve the issue. We do not interfere with any data or anything else except for the plugin (in case that’s a production version of the site), and of course we do not provide login data to third party. You can write credentials here just check Private Reply so nobody can see them except us.

    Best regards.

    Kind Regards, 

    Aleksandar Vuković
    [email protected]

    Rate my support

    wpDataTables: FAQ | Facebook | Twitter | InstagramFront-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia demo sites | Docs | Discord Community

    You can try wpDataTables add-ons before purchasing on these sandbox sites:

    Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables

  • badun replied

    Alexandar,

    As i have already told you in my reply below - there is no way i can give you access to a site, since it is hosted in closed intranet. Furthermore, we're talking about issues with MS SQL, not MySQL. And finally - there is no C-Panel neither PHPMyAdmin since there is nothing wrong with MySQL, but Microsoft SQL.

    So, to summarize issues i have:

    1. Filter and Search functions are not working when table source is MS SQL and table is having other than dbo schema

    2. Delete row is not working when table source is MS SQL regardless of the schema name. 

    All prerequisites are completed ( int, identity(1,1) column is created, referenced in Update tab.


    What i need from you is:

    1. fix issue in filter and search for non-dbo schema for MS SQL

    2. provide me with instruction how can i set up debugging and full logging mode for wpDataTables to see what exactly commands (especially delete and filter/search) does your pluging sends to MS SQL to debug and fix myself.


    Please, for the first item - kindly provide the ticket number so i can track progress of issue resolution; for the second - kindly provide an instructions.


    Thank you,

    regards, Vad.

  •  2,572
    Aleksandar replied

    Alright Vad, sorry about asking for the credentials again.

    1. We have not had any issues with the databases, regardless of if they are saved as dbo or dba, but I will forward it to our developers, so they can take a look. I cannot give you an ETA, since there are a lot of priority tasks, and like I already mentioned - we haven't had an issue like this before.

    2. This may sound too simple, but have you tried creating a new table with our plugin using the same query? Some previous settings may have been stored in wp_wpdatatables_columns which are preventing the row from being deleted. It's a simple test, but known to have solved the issue previously. If you're still having the same issue, can you at least export the table from the database and send it to me, so I can try it locally, and see if it behaves the same?

    There are no ticket numbers provided for resolving issues with the plugin. I'll get back to you as soon as I hear back from our developers.

    Best regards.

    Kind Regards, 

    Aleksandar Vuković
    [email protected]

    Rate my support

    wpDataTables: FAQ | Facebook | Twitter | InstagramFront-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia demo sites | Docs | Discord Community

    You can try wpDataTables add-ons before purchasing on these sandbox sites:

    Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables