dbTalk Databases Forums  

VFP 6: Database Functions

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


Discuss VFP 6: Database Functions in the comp.databases.xbase.fox forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Gene Wirchenko
 
Posts: n/a

Default VFP 6: Database Functions - 07-11-2004 , 12:59 AM






How do I tell which database is the current one?

How do I tell which database a table belongs to?

Sincerely,

Gene Wirchenko

Computerese Irregular Verb Conjugation:
I have preferences.
You have biases.
He/She has prejudices.

Reply With Quote
  #2  
Old   
Fred Taylor
 
Posts: n/a

Default Re: VFP 6: Database Functions - 07-11-2004 , 02:33 AM






I don't think there's a function, but you can open the table with the LLFF
to read the backlink to the .DBC.

See Table File Structure in help for file layout.


Fred
Microsoft Visual FoxPro MVP

"Gene Wirchenko" <genew (AT) mail (DOT) ocis.net> wrote

Quote:
How do I tell which database is the current one?

How do I tell which database a table belongs to?

Sincerely,

Gene Wirchenko

Computerese Irregular Verb Conjugation:
I have preferences.
You have biases.
He/She has prejudices.



Reply With Quote
  #3  
Old   
Stefan Wuebbe
 
Posts: n/a

Default Re: VFP 6: Database Functions - 07-11-2004 , 03:42 AM



Hi Gene,

"Gene Wirchenko" <genew (AT) mail (DOT) ocis.net> schrieb im Newsbeitrag
news:2ml1f0dq247e7u2b78aqnpeudvns850ov3 (AT) 4ax (DOT) com...
Quote:
How do I tell which database is the current one?
? DBC()

Quote:
How do I tell which database a table belongs to?
? CursorGetProp('Database')

(both with optional workarea parameters)


hth
-Stefan



Reply With Quote
  #4  
Old   
Gene Wirchenko
 
Posts: n/a

Default Re: VFP 6: Database Functions - 07-11-2004 , 05:32 PM



"Stefan Wuebbe" <stefan.wuebbe (AT) gmx (DOT) de> wrote:

Quote:
"Gene Wirchenko" <genew (AT) mail (DOT) ocis.net> schrieb im Newsbeitrag
news:2ml1f0dq247e7u2b78aqnpeudvns850ov3 (AT) 4ax (DOT) com...
How do I tell which database is the current one?

? DBC()

How do I tell which database a table belongs to?

? CursorGetProp('Database')

(both with optional workarea parameters)
Thank you.

Sincerely,

Gene Wirchenko

Computerese Irregular Verb Conjugation:
I have preferences.
You have biases.
He/She has prejudices.


Reply With Quote
  #5  
Old   
swdev2
 
Posts: n/a

Default Re: VFP 6: Database Functions - 07-11-2004 , 06:27 PM



Hullo Gene - did you read the manual, either printed or online ?
find it - read it - be it - live it - do it, and of course .
BE IT.
pirates R us [Bill]
--
William Sanders / Electronic Filing Group Remove the DOT BOB to reply via
email.
Mondo Cool TeleCom -> http://www.efgroup.net/efgcog.html
Mondo Cool WebHosting -> http://www.efgroup.net/efglunar.html
Mondo Cool Satellites -> http://www.efgroup.net/sat
VFP Webhosting? You BET! -> http://efgroup.net/vfpwebhosting
mySql / VFP / MS-SQL

"Gene Wirchenko" <genew (AT) mail (DOT) ocis.net> wrote

Quote:
How do I tell which database is the current one?

How do I tell which database a table belongs to?

Sincerely,

Gene Wirchenko

Computerese Irregular Verb Conjugation:
I have preferences.
You have biases.
He/She has prejudices.



Reply With Quote
  #6  
Old   
swdev2
 
Posts: n/a

Default Re: VFP 6: Database Functions - 07-11-2004 , 06:28 PM



Why are you still working on version 6 ?
Tell 'da man' to upgrade/replace your lame workstation to
Windows 2000 with VFP 8 .
be current, you .
gufen xBase [Bill]
--
William Sanders / Electronic Filing Group Remove the DOT BOB to reply via
email.
Mondo Cool TeleCom -> http://www.efgroup.net/efgcog.html
Mondo Cool WebHosting -> http://www.efgroup.net/efglunar.html
Mondo Cool Satellites -> http://www.efgroup.net/sat
VFP Webhosting? You BET! -> http://efgroup.net/vfpwebhosting
mySql / VFP / MS-SQL

"Gene Wirchenko" <genew (AT) mail (DOT) ocis.net> wrote

Quote:
How do I tell which database is the current one?

How do I tell which database a table belongs to?

Sincerely,

Gene Wirchenko

Computerese Irregular Verb Conjugation:
I have preferences.
You have biases.
He/She has prejudices.



Reply With Quote
  #7  
Old   
Gene Wirchenko
 
Posts: n/a

Default Re: VFP 6: Database Functions - 07-11-2004 , 07:14 PM



"swdev2" <wsanders.bob (AT) bob (DOT) efgroup.com> wrote:

Quote:
Hullo Gene - did you read the manual, either printed or online ?
find it - read it - be it - live it - do it, and of course .
BE IT.
I sure did. The first part--find it--was the problem. That is
why I asked here.

The problem of how to find something when you do not know what it
is called is, ah, interesting.

Sincerely,

Gene Wirchenko

Computerese Irregular Verb Conjugation:
I have preferences.
You have biases.
He/She has prejudices.


Reply With Quote
  #8  
Old   
Gene Wirchenko
 
Posts: n/a

Default Re: VFP 6: Database Functions - 07-11-2004 , 07:14 PM



"swdev2" <wsanders.bob (AT) bob (DOT) efgroup.com> wrote:

Quote:
Why are you still working on version 6 ?
Because it meets our needs.

Quote:
Tell 'da man' to upgrade/replace your lame workstation to
Windows 2000 with VFP 8 .
No, thank you.

Quote:
be current, you .
Why? If my old software works, I continue to use it. The editor
I use, I bought in 1988.

Sincerely,

Gene Wirchenko

Computerese Irregular Verb Conjugation:
I have preferences.
You have biases.
He/She has prejudices.


Reply With Quote
  #9  
Old   
Stefan Wuebbe
 
Posts: n/a

Default Re: VFP 6: Database Functions - 07-12-2004 , 03:21 AM




"Gene Wirchenko" <genew (AT) mail (DOT) ocis.net> schrieb
Quote:
"Stefan Wuebbe" <stefan.wuebbe (AT) gmx (DOT) de> wrote:

"Gene Wirchenko" <genew (AT) mail (DOT) ocis.net> schrieb
How do I tell which database is the current one?

? DBC()

How do I tell which database a table belongs to?

? CursorGetProp('Database')

(both with optional workarea parameters)
Actually only the latter has (don't know why I wrote this
sentence..)

Quote:
Thank you.
You're welcome


-Stefan


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.