Skip to content

DELETE FROM without WHERE deletes every record - #2167

Merged
RobertvanderHulst merged 1 commit into
devfrom
feature/vfp-delete-from-all
Nov 10, 2026
Merged

RobertvanderHulst merged 1 commit into
devfrom
feature/vfp-delete-from-all

Conversation

@Irwin1985

Copy link
Copy Markdown
Contributor

DELETE FROM

without a WHERE clause deleted only the current record. In VFP it deletes every record of the table, so the DELETE - SQL rules now use the ALL scope, and the temporary rule that worked around this is gone.

_TALLY counts the rows that matched, including the ones that were already deleted, same as with WHERE. The selected work area does not change.

Three tests added in TallyTests.

DELETE FROM <table> without a WHERE clause deleted only the current
record. In VFP it deletes every record of the table, so the DELETE - SQL
rules now use the ALL scope and the temporary rule that worked around
this is gone. Three tests added in TallyTests.
@RobertvanderHulst
RobertvanderHulst merged commit f1b76c3 into dev Nov 10, 2026
1 check passed
@RobertvanderHulst
RobertvanderHulst deleted the feature/vfp-delete-from-all branch November 10, 2026 06:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants