Leos:
The second " * " it represents "ALL FIELDS"
It was great if NeobookDBPro did it...
Maybe in a next update?
I do not think SQL supports the use of the * (wildcard) for the field names ... so it is unlikely that NeoBookDBPro can provide a similar command.
Note that it is highly unlikely that ALL fields in a Table are of the same type (text, number, boolean etc.) ... so such a requirement is not so common.
(if you have for example 20 fields, it's a problem...)
If it is a problem for you (the developer) to construct manually, there is a way around it i.e. you can pass some variables to a generic subroutine e.g. ...
- Code: Select all
SetVar "[FieldList]" "field1,field2,field3"
SetVar "[InList]" "NeoBook,NeoPaint,NeoDBPro"
SetVar "[QueryConnector]" "OR"
GoSub "ComposeQuery"
... then issue the SQL command like ...
- Code: Select all
dbpExecSQL "database id" "SELECT *
FROM TESTE WHERE [ComposedQuery]" "results table"
... where [ComposedQuery] would be constructed by the subroutine.
If you do not want to manually specify ALL fields in the Table for [FieldList], you can ...
- Code: Select all
dbpGetTableNames "TableNameHere" "," "[FieldList]"
If you need help with the subroutine, ask here.