From 2a7ab4d91683314b7ac2afc3851a628f5233f8da Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Sat, 27 Jan 2001 18:34:38 +0000 Subject: Update to pgaccess 0.98.7. --- src/bin/pgaccess/lib/tables.tcl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/bin/pgaccess/lib/tables.tcl') diff --git a/src/bin/pgaccess/lib/tables.tcl b/src/bin/pgaccess/lib/tables.tcl index d25bce73add..8ab4f579aff 100644 --- a/src/bin/pgaccess/lib/tables.tcl +++ b/src/bin/pgaccess/lib/tables.tcl @@ -1185,8 +1185,8 @@ if {$PgAcVar(nt,tablename)==""} then { focus .pgaw:NewTable.etabn return } -if {[.pgaw:NewTable.lb size]==0} then { - showError [intlmsg "Your table has no fields!"] +if {([.pgaw:NewTable.lb size]==0) && ($PgAcVar(nt,inherits)=="")} then { + showError [intlmsg "Your table has no columns!"] focus .pgaw:NewTable.e2 return } -- cgit v1.2.3