Page 2 of 4

Re: DBU

Posted: Sat Nov 20, 2010 6:35 am
by John Hohensee
The command line for SFCW is as follows:
1) SFCW uses the current path.
2) SFCW C:\FOLDER1\FOLDER2 will set the path to the second parameter.

Tried it both was and both worked on win xp pro

Re: DBU

Posted: Tue Nov 30, 2010 11:50 am
by BruceN
I still haven't found an easy to use, versatile replacement for the original DBU. I looked at the code Roger was kind enough to post and, frankly, it is as beyond my abilities as relativistic mechanics would be to an aborigine (ok, if it WERE relativistic mechanics - THAT I could understand).

Perhaps one of you wizards out there thinks the way I do and would like to see a 32 bit version of the original DBU... and be willing to take the (probably little) time it would take to fix the code for us all (I'm assuming that I'm not the only one who would like it... but I could be wrong, I have been many times in the past).

thanks

bruce

Re: DBU

Posted: Tue Nov 30, 2010 12:43 pm
by rdonnay
If you can describe exactly what is the problem, I will try to find time to fix it.

Re: DBU

Posted: Tue Nov 30, 2010 1:20 pm
by BruceN
Thank you... the function keys don't work. It seems like they are defaulting to the first menu option rather than giving the submenu. For example:

F2 (open) opens database, not database, index, view submenu

F3 (create) shows the file structure instead of database, index submenus

Since I can't get to many of the options, I can't tell if they work or not. My gut feeling (based on absofreakinglutely no knowledge) is that the problem is in the menus primarily and that the options would liely work if they were accessible.

again... thanks. If I ever get out your way, I owe you a L A R G E beer :)

bruce

Re: DBU

Posted: Tue Nov 30, 2010 3:35 pm
by rdonnay
I really don't understand.

I have never used DBU because I didn't like it from the beginning.

It seems like it works right to me.

Re: DBU

Posted: Tue Nov 30, 2010 4:30 pm
by BruceN
Try this on both DBU16 and DBU32...

1) open a dbf file and have the 'grid' display the data.
2) press [F7]. On dbu16 it drops menu with: seek, GoTo, Locate, Skip. On dbu32 it shows the 'move pointer' box from the 'GoTo' menu option.

The same thing happens on all the menu options. dbu32 goes directly to one of the submenu options, dbu16 gives you several submenu options to choose from. It's as if it wasn't generating the submenus and instead simply defaulting to one of the options.

With my limited knowledge, I can't even find where the menu is created! I can see wherre the menu options are loaded into an array
(for example, the [F7] menu:
DECLARE move_m[4]
DECLARE move_b[4]
move_m[1] = "Seek"
move_m[2] = "Goto"
move_m[3] = "Locate"
move_m[4] = "Skip" )

but I can't even see where that is used.

thanks.

Re: DBU

Posted: Tue Nov 30, 2010 5:41 pm
by rdonnay
Ok, I finally built a copy of DBU16.EXE and now I see what you mean.

I'll try to figure this out.

Re: DBU

Posted: Tue Nov 30, 2010 6:39 pm
by BruceN
Glad to know I'm not crazy (well, maybe I am, but at least you see my point here). much thanks!!!!!

Re: DBU

Posted: Tue Nov 30, 2010 7:06 pm
by rdonnay
I am having difficulty with this.

I know I could figure it out if I have the time but I'm overworked now.

I sent Alaska support an email.
Many years ago, they published a small step-by-step tutorial on how to convert Clipper's DBU to Xbase++.
Hopefully, they can find it and send it to us.

Re: DBU

Posted: Wed Dec 01, 2010 1:18 am
by Markus Walter
Hi,

perhaps i can help. I have a working xbase-version of the "original" clipper-dbu with little spezific changes (foxdbe als default and a passwort at start). If you want, i can share the code...