Welcome to !

     Modules
· Home
· On-line Shop
· Content
· Downloads
· FAQ
· Feedback
· Forums
· Members List
· Private Messages
· Recommend Us
· Statistics
· Surveys
· Top 10
· Web Links
· Your Account

     Donations



     Login
Don't have an account yet? You can create one. As a registered user you have some advantages like theme manager, comments configuration and post comments with your name.

     Total Hits
We received
567621
page views since September 2003

     User Info


Warning: Cannot modify header information - headers already sent by (output started at /home/deanjx1/public_html/header.php:32) in /home/deanjx1/public_html/includes/sessions.php on line 249

Warning: Cannot modify header information - headers already sent by (output started at /home/deanjx1/public_html/header.php:32) in /home/deanjx1/public_html/includes/sessions.php on line 250
Total Rekall- An alternative to Microsoft Access: Forums


Warning: Cannot modify header information - headers already sent by (output started at /home/deanjx1/public_html/header.php:32) in /home/deanjx1/public_html/includes/page_header.php on line 529

Warning: Cannot modify header information - headers already sent by (output started at /home/deanjx1/public_html/header.php:32) in /home/deanjx1/public_html/includes/page_header.php on line 531

Warning: Cannot modify header information - headers already sent by (output started at /home/deanjx1/public_html/header.php:32) in /home/deanjx1/public_html/includes/page_header.php on line 532
 Forum FAQForum FAQ   SearchSearch   UsergroupsUsergroups   ProfileProfile   Log inLog in 

howto import DBF via Copier?

 
Post new topic   Reply to topic    Total Rekall Forum Index -> General
View previous topic :: View next topic  
Author Message
prl
Crewman
Crewman


Joined: Sep 01, 2004
Posts: 3

PostPosted: Wed Sep 01, 2004 3:31 pm    Post subject: howto import DBF via Copier? Reply with quote

Hello,

I'm a new user, trying things out as it were... I'd like to import a couple of DBF files and manipulate them via rekall.

I can't figure out ho to do this. From googling, it seems I need to use "Copier." Any hints?

Thanks,
Phil
Back to top
View user's profile Send private message
ajh
Ensign


Joined: Nov 18, 2003
Posts: 68

PostPosted: Wed Sep 01, 2004 6:45 pm    Post subject: Reply with quote

I'm not convinced that you can import DBF files directly. Can you write them as delimited or fixed length text files? If so, use the Copier. Choose File as your from and the table you want to import to as your To
Back to top
View user's profile Send private message
ajh
Ensign


Joined: Nov 18, 2003
Posts: 68

PostPosted: Thu Sep 02, 2004 7:48 am    Post subject: Reply with quote

OK - my previous answer should get an award for the dumbest answer of the year. Of course Rekall support DBF, that's the native file format for the XBSQL interface!!!

Best way to use the file is to do the following:
- Put the DBF files into a directory somewhere
- Go into Rekall and create a new database in that directory (will create the RKL file), just hit Finish on the Wizard
- Once created, Create a new Server, name it whatever, type should be XBASE/XBSQL
- You should then find your DBF file are listed in the Tables list

Enjoy!!
Back to top
View user's profile Send private message
prl
Crewman
Crewman


Joined: Sep 01, 2004
Posts: 3

PostPosted: Thu Sep 02, 2004 3:21 pm    Post subject: Re: extant dbf usage Reply with quote

Not working yet... What am I missing? I did this:

1. mkdir ~/rekall
2. copy two .DBF files into ~/rekall
3. start rekall
4. click new database icon
- Database Connection Wizard appears
5. click Finish
- i.e. didn't use wizard
- Create Database Filesystem navigator window opens
6. Navigate to ~/rekall in the Create Database Filesystem window
7. Enter "foo" in Location field
8. Click Save button
- dialog windows are now all gone
- I've been returned to Rekall main window
- foo database is open
9. Left click on "Servers" in Objects list
- Word "Servers" highlights
10. click "New" button
- Focus moves to Server Settings' "Server" field
- Server field defaults to highlighted string ""
11. I replace highlighted string with "bar"
12. I hit TAB key
- focus moves to Type dropdown Box
13. I choose "Rekall XBase/XBSQL Driver"
14. I hit TAB key
- focus skips to "Show" checkbox (next to "Password" field)
15. Passwords are not applicable for my application, so I hit TAB key again
- focus skips to "Disabled" ckeckbox
16. I hit TAB key
- focus skips to "Auto Start" checkbox
17. I hit TAB key
- focus skips to "Advanced" button
18. I ignore "Advanced" button and hit TAB key again
- focus skips to "Save" button
19. I hit ENTER key
- dialog appears
* title "Create Ob#ject table - Rekall"
* text: "Database on server bar lacks a object table: create one?"
* "Yes" button is highlighted
20. I hit ENTER key
- dialog dosappears
- control is returned to main Rekall window
- "Server" Object remains highlighted
- "bar" has appeared under "!Files"
21. I left click "Tables" Object
- detail view switches
* fields: Server/Table/Field; Type; Size; Info
- there are three nodes/records displayed:
* ""
* "!Files"
* bar
22. I left click "+" next to the node with empty string for a name
- dialog appears
* title: Error
* text: Server "" not known
* "OK" button is highlighted
23. I hit ENTER key
- control is returned to main Rekall window
- "+" next to empty string node is now a "-"
24. I left click "+" next to the node with name "!Files"
- "+" turns into a "-"
25. I left click "+" next to the node with name "bar"
- "+" turns into a "-"
- three sub-nodes appear
* "Create new table"
* FAMILY
- Type: Table
- "+" prepends sub-node
* MEMBER
- Type: Table
- "+" prepends sub-node
26. I left click "+" next to FAMILY
- dialog appears
* title: Error
* text: Unable to get list of fields in table
* "OK" button is highlighted
* "Show Details >>" button also exists
27. I click "Show Details >>" button
- Detail text: Error opening file

After quitting the program, here is a directory listing with permissions, etc.:
$ ls -l ~/rekall
total 3928
-rw-r--r-- 1 me users 1112237 Sep 2 11:16 FAMILY.DBF
-rw-r--r-- 1 me users 2886307 Sep 2 11:16 MEMBER.DBF
-rw-r--r-- 1 me users 257 Sep 2 11:17 __RekallObjects.dbf
-rw-r--r-- 1 me users 512 Sep 2 11:17 __RekallObjects.dbt
-rw-r--r-- 1 me users 827 Sep 2 11:17 foo.rkl
-rw-r--r-- 1 me users 416 Sep 2 11:17 foo.rkl~
Back to top
View user's profile Send private message
ajh
Ensign


Joined: Nov 18, 2003
Posts: 68

PostPosted: Thu Sep 02, 2004 6:10 pm    Post subject: Reply with quote

Hmm...have to say that I tried it on the Windows version. It's not something as simple as being case sensitive on Linux is it? I noticed that the Rekall created tables are .dbf files whereas your tables are .DBF
Back to top
View user's profile Send private message
prl
Crewman
Crewman


Joined: Sep 01, 2004
Posts: 3

PostPosted: Thu Sep 02, 2004 6:18 pm    Post subject: Good Call! Reply with quote

Yikes, that was it! Thank you!

Well, I'm glad we uncovered that little bug. I'm off to try using Rekall, now!

Phil
Back to top
View user's profile Send private message
ajh
Ensign


Joined: Nov 18, 2003
Posts: 68

PostPosted: Thu Sep 02, 2004 6:34 pm    Post subject: Reply with quote

Just tried it on Linux and it worked the same - but the file does need to have a lower case extension
Back to top
View user's profile Send private message
Post new topic   Reply to topic    Total Rekall Forum Index -> General All times are GMT
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




Web site powered by PHP-Nuke

All logos and trademarks in this site are property of their respective owner. The comments are property of their posters, all the rest © 2003 by John Dean and Mike Richardson
You can syndicate our news using the file backend.php or ultramode.txt
Web site engine's code is Copyright © 2003 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.498 Seconds