Source language: Translate to:

dbfQuery Error dialog in another language

Post your suggestions for future versions of NeoBook

Moderator: Neosoft Support

dbfQuery Error dialog in another language

Postby WinMacLyn » Tue Feb 06, 2007 7:39 pm

Hi everybody,

Please NeoBook Support, can you tell me how to change the dbfQuery (Error dialog) “No matching record found” in a way to be translated into any other language?

I found the following in the “NeoBookDB Version History” but I can’t make it work!

The dbfQuery action now works with Float fields.
Added dbfSetSortLocale action to manually set the language used when performing sort operations. For example, to set the sort language to Spanish:
dbfSetSortLocale "10"

Thank You.
User avatar
Posts: 110
Joined: Wed Jan 17, 2007 7:30 pm

Postby beno » Tue Feb 06, 2007 8:53 pm

Hi WinMacLyn,

My suggestion is to create your own Error Dialog. NeoBook is a powerful and friendly system to do this.

Here is the idea:

Code: Select all
  dbfShowErrors "False"
. Do not display error messages

Next, always check for [dbfQueryResult] after using the dbfQuery action, as in:

Code: Select all

  dbfQuery "MyDB" "field == MyValue"

  IfEx "[dbfQueryResult] > 0"

.   We have records to work with
.   Actions to do here....


.   There are no records matching this query it´s time to display
.   my custom Error dialog

    AlertBox "Atención" "No hay registros para esta consulta... mala suerte"



User avatar
Posts: 678
Joined: Fri Apr 01, 2005 9:03 am
Location: México

Postby WinMacLyn » Wed Feb 07, 2007 8:47 am

Thanks a lot beno,

Your posted code resulted more or less the way I thought that was going to be. That’s why I posted this question in this section, to see if Neosoftware is so kind for future major NeoBookDB version can bring to us a faster way to handle error dialogs in other languages since there are not too many of them for the NeoBookDB.
User avatar
Posts: 110
Joined: Wed Jan 17, 2007 7:30 pm

Return to NeoBook Suggestions

Who is online

Users browsing this forum: No registered users and 1 guest