Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tbl select empty nam #41

Merged
merged 4 commits into from
Feb 23, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion tables/tables.tbs
Original file line number Diff line number Diff line change
Expand Up @@ -848,7 +848,8 @@ public function tbl_select(byref table_name_or_num as string, byref file_name as
exit function
end if

if len(table_name_or_num)>TBL_MAX_TABLE_NAME_LEN or len(file_name)>TBL_MAX_FILE_NAME_LEN then
if len(table_name_or_num)>TBL_MAX_TABLE_NAME_LEN or len(file_name)>TBL_MAX_FILE_NAME_LEN
or len(table_name_or_num)=0 or len(file_name)=0 then
tbl_select=EN_TBL_STATUS_INV_PARAM
#if TBL_DEBUG_PRINT
tbl_debug_print_error("tbl_select("+table_name_or_num+")",tbl_select)
Expand Down
Loading