Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Multiple Applications - different Stonefield Versions?
Message
From
14/09/2004 13:52:43
Scott Malinowski
Arizona Fox Software LLC
Arizona, United States
 
 
To
03/09/2004 11:33:49
General information
Forum:
Visual FoxPro
Category:
Stonefield
Miscellaneous
Thread ID:
00938067
Message ID:
00942011
Views:
36
Doug,

Thanks for that information. I changed all the settings on the properties page and SDT 5.1j still validates when it opens?

Anyway, I have another question for you. I have an external EXE that does nothing but reindexes and packs the database in an EXE. The program is simple:
********************************************************************
PRIVATE oMeta

CLOSE DATABASES ALL
ON ERROR RETURN
OPEN DATABASE DATA\#SMART EXCLUSIVE


oMeta = newobject('DBCXMgr',"DBCXMGR.vcx")
*!* oMeta = NEWOBJECT('DBCXMgr', 'DBCXMGR.VCX', '', .F., JUSTPATH(DBC()))

IF TYPE('oMeta') <> "O" OR ISNULL(oMeta)
=MESSAGEBOX("Stonefield Meta Creation Failed!",16,"Program Failure")
RETURN
ENDIF

LOCAL llRetVal

llRetVal = .F.

llRetVal=ometa.setdatabase(DBC())
llRetVal=ometa.osDTMGR.reindex("ALL",.T.,.T.)

IF NOT llRetVal
=MESSAGEBOX("Pack/Reindex Failed!",16,"Program Failure")
ELSE
=MESSAGEBOX("Pack/Reindex Completed Successfully!",64,"Program Success!")
ENDIF
**********************************************************************
I have the two Stonefield classes included in my project. When I run the EXE, it only reindexes and packs the first table in the database? There are over 35 tables in the database. This is the project I inherited and the reindex/pack that was inside the application was doing the same thing, so I thought I'd write an external program to do the same thing. Where should I be looking to overcome this problem?

Thanks a WHOLE BUNCH!!!

Scott


>Hi Scott.
>
>>One question though...when I select the Stonefield Database Explorer from the menu, it automatically starts validating the above-mentioned dbc?
>
>In the SDT Properties dialog, select the Open Database Explorer with no meta data setting.
>
>Doug
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform