MiniGUI DBU

HMG Samples and Enhancements

Moderator: Rathinagiri

User avatar
gfilatov
Posts: 582
Joined: Fri Aug 01, 2008 5:42 am
Location: Ukraine
Has thanked: 17 times
Been thanked: 148 times
Contact:

Re: MiniGUI DBU

Post by gfilatov » Tue Nov 13, 2018 8:38 pm

Hi,

Thanks for your bug report!

Which operation with a table you did?

It is an expected behavior if you did modify of a structure of table due to the some limitations for above operation. :o
Kind Regards,
Grigory Filatov

"Everything should be made as simple as possible, but no simpler." Albert Einstein

User avatar
koke
Posts: 83
Joined: Wed Aug 21, 2013 3:54 pm
DBs Used: DBF, mySql, mariaDB
Has thanked: 22 times
Been thanked: 24 times

Post by koke » Wed Nov 14, 2018 1:38 pm

I open a table with 34 fields and then selected modifications->modifying of the table but i did not modify anything and when i close the window and it shows the error
Regards
,___,
[O.o]
/)__)
-”–”-
KoKe

edk
Posts: 384
Joined: Thu Oct 16, 2014 11:35 am
Location: Poland
Has thanked: 112 times
Been thanked: 284 times

Post by edk » Wed Nov 14, 2018 2:00 pm

Hi Grigory.
Thx for new version.
Another issue:
Try to:
1. Copy a table test.dbf (without condition)
2. Import a record from the file you copied (without condition)
3. Press END key
Bez tytułu.png
Bez tytułu.png (117.03 KiB) Viewed 907 times

User avatar
gfilatov
Posts: 582
Joined: Fri Aug 01, 2008 5:42 am
Location: Ukraine
Has thanked: 17 times
Been thanked: 148 times
Contact:

Post by gfilatov » Wed Nov 14, 2018 6:05 pm

edk wrote:
Wed Nov 14, 2018 2:00 pm
Hi Grigory.
Thx for new version.
Another issue:
Try to:
1. Copy a table test.dbf (without condition)
2. Import a record from the file you copied (without condition)
3. Press END key
Hi Edward,

Thanks for your bug report :!:

It was my mistake at an import of the records :(

This bug was fixed already and I've attached the updated application for your further testing.

BTW The sources of this utility will be included at a next Minigui build.

I'm considering it as a template of DBU and example of using of TBrowse control for a database and array access.
Attachments
MGDBU069.zip
(958.1 KiB) Downloaded 29 times
Kind Regards,
Grigory Filatov

"Everything should be made as simple as possible, but no simpler." Albert Einstein

User avatar
serge_girard
Posts: 2161
Joined: Sun Nov 25, 2012 2:44 pm
DBs Used: 1 MySQL - MariaDB
2 DBF
Location: Belgium
Has thanked: 469 times
Been thanked: 108 times
Contact:

Post by serge_girard » Wed Nov 14, 2018 8:33 pm

Thanks Grigory !

Serge

User avatar
gfilatov
Posts: 582
Joined: Fri Aug 01, 2008 5:42 am
Location: Ukraine
Has thanked: 17 times
Been thanked: 148 times
Contact:

Post by gfilatov » Sat Nov 17, 2018 8:17 pm

Hi Friends,

I've attached the updated MgDBU v.0.70 application for your testing.

Thanks for your attention :!:
Attachments
MGDBU070.zip
(929.68 KiB) Downloaded 33 times
Kind Regards,
Grigory Filatov

"Everything should be made as simple as possible, but no simpler." Albert Einstein

User avatar
gfilatov
Posts: 582
Joined: Fri Aug 01, 2008 5:42 am
Location: Ukraine
Has thanked: 17 times
Been thanked: 148 times
Contact:

Post by gfilatov » Mon Nov 19, 2018 5:46 pm

Hi Friends,

I've attached the latest MgDBU v.0.71 application with a recent impovement.

Whatsnew:
- you can launch the mgDBU without an opened test base and then open your database with pressing F2 hotkey. 8-)
Attachments
MGDBU071.zip
MgDBU v.0.71
(930.2 KiB) Downloaded 38 times
Kind Regards,
Grigory Filatov

"Everything should be made as simple as possible, but no simpler." Albert Einstein

User avatar
gfilatov
Posts: 582
Joined: Fri Aug 01, 2008 5:42 am
Location: Ukraine
Has thanked: 17 times
Been thanked: 148 times
Contact:

Post by gfilatov » Thu Dec 13, 2018 12:14 pm

Hi Friends,

I've attached the latest MgDBU v.0.72 application with a recent impovement.

Whatsnew:
- an optimized resizing of a main window.
Attachments
MGDBU072.zip
Updated application
(931.51 KiB) Downloaded 4 times
Last edited by gfilatov on Thu Dec 13, 2018 1:15 pm, edited 1 time in total.
Kind Regards,
Grigory Filatov

"Everything should be made as simple as possible, but no simpler." Albert Einstein

User avatar
dragancesu
Posts: 580
Joined: Mon Jun 24, 2013 11:53 am
DBs Used: DBF, MySQL, Oracle
Location: Subotica, Serbia
Has thanked: 16 times
Been thanked: 111 times

Post by dragancesu » Thu Dec 13, 2018 12:38 pm

Nice, but how create and open index? Is possible?

This is error when open index

Code: Select all

Harbour MiniGUI Errorlog File

------------------------------------
Application: C:\test\MGDBU.exe
Date: 13/12/2018 Time: 13:43:20
Time from start: 0 days 0 hours 0 mins 19 secs
Error BASE/1075 Argument error: >
Called from SETNEWINDEX(1065) in module: MGDBU.prg 
Called from OPENINDEX(1139) in module: MGDBU.prg 
Called from (b)CREATETOOLBAR(329) in module: MGDBU.prg 
Called from _DOCONTROLEVENTPROCEDURE(1863) in module: h_windows.prg 
Called from EVENTS(1745) in module: h_events.prg 
Called from DOMESSAGELOOP(0) 
Called from _ACTIVATEWINDOW(1497) in module: h_windows.prg 
Called from MAIN(148) in module: MGDBU.prg 

----------------------------- System Information ------------------------------

Workstation name...: NOVI-PC
Active user name...: Rade
Available memory...: 5467 MB
Current disk.......: C
Current directory..: test
Free disk space....: 43773 MB

Operating system...: Windows 10 10.0
MiniGUI version....: Harbour MiniGUI Extended Edition 18.11 (32-bit)
Harbour version....: Harbour 3.2.0dev (r1811161533)
Harbour built on...: Nov 17 2018 18:36:58
C/C++ compiler.....: Borland C++ 5.5.1 (32-bit)
Multi Threading....: NO

Current Work Area..: 1

-------------------------- Environmental Information --------------------------

SET ALTERNATE......: OFF
SET ALTFILE........:
SET AUTOPEN........: ON
SET AUTORDER.......: 0
SET AUTOSHARE......: 0
SET CENTURY........: ON
SET COUNT..........: 0
SET DATE FORMAT....: dd/mm/yyyy
SET DBFLOCKSCHEME..: 0
SET DEBUG..........: OFF
SET DECIMALS.......: 2
SET DEFAULT........:
SET DEFEXTENSIONS..: ON
SET DELETED........: OFF
SET DELIMCHARS.....: ::
SET DELIMETERS.....: OFF
SET DIRCASE........: 0
SET DIRSEPARATOR...: \
SET EOL............: 13
SET EPOCH..........: 1900
SET ERRORLOG.......: C:\test\ErrorLog.htm
SET EXACT..........: OFF
SET EXCLUSIVE......: ON
SET EXTRA..........: OFF
SET EXTRAFILE......:
SET FILECASE.......: 0
SET FIXED..........: OFF
SET FORCEOPT.......: OFF
SET HARDCOMMIT.....: ON
SET IDLEREPEAT.....: ON
SET LANGUAGE.......: en
SET MARGIN.........: 0
SET MBLOCKSIZE.....: 64
SET MFILEEXT.......:
SET OPTIMIZE.......: ON
SET PATH...........:
SET PRINTER........: OFF
SET PRINTFILE......: LPT1
SET SOFTSEEK.......: OFF
SET TRIMFILENAME...: .F.
SET UNIQUE.........: OFF

-------------------------- Detailed Work Area Items ---------------------------

Work Area No ......: 1
Alias .............: LAGER
Current Recno .....: 1
Current Filter ....:
Index Order .......: 1
Active Key ........: SIFRA

--------------------- Internal Error Handling Information ---------------------

Subsystem Call ....: BASE
System Code .......: 1075
Default Status ....: .F.
Description .......: Argument error
Operation .........: >
Involved File .....:
Dos Error Code ....: 0

+++++++++++++++++++++++++ Available Memory Variables ++++++++++++++++++++++++++

CFILTER TYPE C []

------------------------------------

User avatar
gfilatov
Posts: 582
Joined: Fri Aug 01, 2008 5:42 am
Location: Ukraine
Has thanked: 17 times
Been thanked: 148 times
Contact:

Post by gfilatov » Thu Dec 13, 2018 1:17 pm

dragancesu wrote:
Thu Dec 13, 2018 12:38 pm
Nice, but how create and open index? Is possible?

This is error when open index
...
Hi Dragan,

Thanks for your bug report.

I've uploaded an updated application with a correct index creation.

Your feedback is welcome :!:
Kind Regards,
Grigory Filatov

"Everything should be made as simple as possible, but no simpler." Albert Einstein

Post Reply