Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Free Table Advice vs DBC and Begin/End Transaction
Message
From
16/05/2008 06:23:00
 
 
To
16/05/2008 00:52:29
Chris Sund
Silhouette Solutions
Utah, United States
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Miscellaneous
Thread ID:
01317549
Message ID:
01317569
Views:
7
Since you are running SP2, have a look at MAKETRANSACTABLE().

Never used it myself.

Good uck


>Hello Everyone,
>
>I have an app that is dedicated soley to reports. My main application calls the report app to run a report. This is for updating reasons. If my users want a new report then I simply have to distribute the report app and not the entire project. In my report app I have the ability to save reports. The save feature simply saves the settings the user chose. When the user clicks the save button it goes through a series of selections,scans and inserts. I just designed this and it works great, but I want to be sure I don't have a problem when it comes to production. I created a free table that stores the report settings rather than placing the table in the DBC. The only reason I did this was to keep the report app completely independent of the main app.
>
> With that said, I just wanted to get some advice whether or not this is a good approach. Due to the fact I'm using a free table I can't issue a Begin Transaction or End Transaction to ensure the report settings are saved. I haven't used free tables in the past so I'm not sure how reliable they are when it comes to updating them. I have a feeling it would be better to place the table in a DBC and use the transaction functions, I just like the idea of having a single table without any baggage.
>
>Your comments are welcome, I just want to make the best choice.
>
>Thanks!
>
>Chris
Previous
Reply
Map
View

Click here to load this message in the networking platform