dbTalk Databases Forums  

FoxPro tables, Memo field, report writer, .net

comp.databases.xbase.fox comp.databases.xbase.fox


Discuss FoxPro tables, Memo field, report writer, .net in the comp.databases.xbase.fox forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Maurice Balmoral
 
Posts: n/a

Default FoxPro tables, Memo field, report writer, .net - 07-18-2003 , 02:56 PM






Hi,

I want to open tables from a compiled Foxpro 2.6 application. I dont
have FoxPro 2.6 but I have Visual FoxPro 6.0 and Access. (The tables
are .DBF)

The problem I have is with the memo fields. With VFP 6.0, I can import
the table that have a memo field but the memo field itself is blank
(that is the information is missing).

With Access, the tables that have a memo fields will not import at all
giving the message “External table isn’t in the expected
format”. Also, the ODBC drivers for Foxpro 2.6 are no longer
functionnal or supported.

I suppose the problem has to do with the way XBASE treats a memo field
and I need to go beyond that.

I have three objective in mind for doing this.

1.) Changing the information in the database directly without using
the application.
2.) Use VFP 6.0 to build the links between the tables and use VFP 6.0
as a report writer.
3.) Ensure that I can in fact open and connect all tables before I
purchase a report writer that will work with my database (such as
FoxFire, Crystal Report Writer, or R&R)

Although I heard a lot of good about FoxPro, I have no experience
whatsoever with it, (I just installed VFP 6.0 and opened it for the
first time) and dont know what is feasible or where to look.

I also heard about a new product from Microsoft Visual studio.net
which seems to be a magic bullet and might be able to achieve this.

Any ideas as to feasibility regarding this ?

Reply With Quote
  #2  
Old   
lemmebe@frednwilma.com
 
Posts: n/a

Default Re: FoxPro tables, Memo field, report writer, .net - 07-18-2003 , 05:16 PM






On 18 Jul 2003 12:56:40 -0700, mbalmoral (AT) netscape (DOT) net (Maurice Balmoral)
wrote:

Not sure what you mean by 'importing' tables to vfp6. Vfp6 can open FPW2.6
files natively. Just go to the command window and type 'Use <tablename>'.
Everything should be there unless the memo file itself is corrupt (the .fpt
file).

Just an aside about your point #1. It may not be a good idea to change
information in a table through the back door unless you fully understand all
the table links etc. Changing information in one table may well have an
impact in another table that the application takes care of in code. If you
don't take care of the same situations through the back door, you may just
render the application itself useless.

Alan

Quote:
Hi,

I want to open tables from a compiled Foxpro 2.6 application. I dont
have FoxPro 2.6 but I have Visual FoxPro 6.0 and Access. (The tables
are .DBF)

The problem I have is with the memo fields. With VFP 6.0, I can import
the table that have a memo field but the memo field itself is blank
(that is the information is missing).

With Access, the tables that have a memo fields will not import at all
giving the message “External table isn’t in the expected
format”. Also, the ODBC drivers for Foxpro 2.6 are no longer
functionnal or supported.

I suppose the problem has to do with the way XBASE treats a memo field
and I need to go beyond that.

I have three objective in mind for doing this.

1.) Changing the information in the database directly without using
the application.
2.) Use VFP 6.0 to build the links between the tables and use VFP 6.0
as a report writer.
3.) Ensure that I can in fact open and connect all tables before I
purchase a report writer that will work with my database (such as
FoxFire, Crystal Report Writer, or R&R)

Although I heard a lot of good about FoxPro, I have no experience
whatsoever with it, (I just installed VFP 6.0 and opened it for the
first time) and dont know what is feasible or where to look.

I also heard about a new product from Microsoft Visual studio.net
which seems to be a magic bullet and might be able to achieve this.

Any ideas as to feasibility regarding this ?
My real address is alan at attcanada dot ca
(with a 'p' on 'alan' making it 'alanp',
and no spaces). I'm sick of email spam.


Reply With Quote
  #3  
Old   
Maurice Balmoral
 
Posts: n/a

Default Re: FoxPro tables, Memo field, report writer, .net - 07-21-2003 , 01:38 PM



Hi Alan,

When I wrote importing, I meant opening a DBF table. I did that by
adding a free table to a project in the project manager window or by
opening a DBF table through the open command of the file option in the
VFP menu. Those two methods give the same result as a use and browse.
The .FPT file cannot be opened directly.

I could browse the .DBF table with VFP but the content in the memo
field is MEMO, instead of the true content. I suspect that this is
because there is no link between the DBF file and the FPT file. I am
looking at files separately with nothing to tell FoxPro the link
between the two. I need to get more knowledge of FoxPro itself to
link the two files plus some other related DBF files, into a true
database.

With the knowledge that VFP6 can open FPW2.6. , I used the VFP6 ODBC
drivers from Access to open the table with the memo field and I can
now see the full content of the memo field.

Thanks also for the warning about the backdoor. I intend to use that
for global changes in rare circumstances after extensive testing.

Maurice



lemmebe (AT) frednwilma (DOT) com wrote in message news:<i6sghv4o491q5k2f7cb8h06l0lo54hbu27 (AT) 4ax (DOT) com>...
Quote:
On 18 Jul 2003 12:56:40 -0700, mbalmoral (AT) netscape (DOT) net (Maurice Balmoral)
wrote:

Not sure what you mean by 'importing' tables to vfp6. Vfp6 can open FPW2.6
files natively. Just go to the command window and type 'Use <tablename>'.
Everything should be there unless the memo file itself is corrupt (the .fpt
file).

Just an aside about your point #1. It may not be a good idea to change
information in a table through the back door unless you fully understand all
the table links etc. Changing information in one table may well have an
impact in another table that the application takes care of in code. If you
don't take care of the same situations through the back door, you may just
render the application itself useless.

Alan

Hi,

I want to open tables from a compiled Foxpro 2.6 application. I dont
have FoxPro 2.6 but I have Visual FoxPro 6.0 and Access. (The tables
are .DBF)

The problem I have is with the memo fields. With VFP 6.0, I can import
the table that have a memo field but the memo field itself is blank
(that is the information is missing).

With Access, the tables that have a memo fields will not import at all
giving the message “External table isn’t in the expected
format”. Also, the ODBC drivers for Foxpro 2.6 are no longer
functionnal or supported.

I suppose the problem has to do with the way XBASE treats a memo field
and I need to go beyond that.

I have three objective in mind for doing this.

1.) Changing the information in the database directly without using
the application.
2.) Use VFP 6.0 to build the links between the tables and use VFP 6.0
as a report writer.
3.) Ensure that I can in fact open and connect all tables before I
purchase a report writer that will work with my database (such as
FoxFire, Crystal Report Writer, or R&R)

Although I heard a lot of good about FoxPro, I have no experience
whatsoever with it, (I just installed VFP 6.0 and opened it for the
first time) and dont know what is feasible or where to look.

I also heard about a new product from Microsoft Visual studio.net
which seems to be a magic bullet and might be able to achieve this.

Any ideas as to feasibility regarding this ?

My real address is alan at attcanada dot ca
(with a 'p' on 'alan' making it 'alanp',
and no spaces). I'm sick of email spam.

Reply With Quote
  #4  
Old   
Maurice Balmoral
 
Posts: n/a

Default Re: FoxPro tables, Memo field, report writer, .net - 07-22-2003 , 07:26 AM



lemmebe (AT) frednwilma (DOT) com wrote in message news:<2h6phvggc9ivndi3b1s0diiq92v6skv545 (AT) 4ax (DOT) com>...
Quote:
On 21 Jul 2003 11:38:19 -0700, mbalmoral (AT) netscape (DOT) net (Maurice Balmoral)

Memo is what you see in the field until you double click on the field (or
press ctrl + PgDn). When you double click, it opens up and shows you the
actual content. Before double clicking, if it starts with an upper case 'M',
then there is content, a lower case 'm' indicates it's empty.

Alan

Wonderful, it worked fine. Thanks


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.