Member Login

Username
Password
Forget Password
New Sign Up
Search Forum

Buy Support
Incidents

If you can't find your answer in the FREE PUBLIC QDeveloper Forum, require URGENT Priority Support, or you need to send us private or confidential information:

Click Here
If you can't login and post questions or you are having trouble viewing forum posts:
Click Here
Callback
Support

If you live in USA, UK, Canada, Australia or New Zealand, you can leave us details on your question and request us to call you back and discuss them with you personally  (charges apply).

Click Here
 
Buy Support
Incidents
If you can't find your answer in the FREE PUBLIC QDeveloper Forum, require URGENT Priority Support, or you need to send us private or confidential information:
Click Here

Forum : the data do not appear, only when application restart!!!!Search Forum

Forum Home > FlexODBC - ODBC Driver for DataFlex Embedded DBMS > FlexODBC Forum

 New Topic 
 
 Post Reply 
[1]  
 the data do not appear, only when application restart!!!! 
 Author   Message 
  wmilhomem 
  
 Group: Members 
 Posts: 2 
 Joined: 2008-07-01 
 Profile
 Posted : 2008-07-01 06:37:23
I have an application Deplhi accessing Dataflex 3.2 running in Unix
through samba, but when I insert a record using dataflex, I can see this record in Delphi restart if my application. is there any setting in which I do flexodbc ????
 

  Top 
  Tom 
  6c3c1_sdk-qodbc.gif
 Group: Administrator 
 Posts: 5510 
 Joined: 2006-02-17 
 Profile
 Posted : 2008-07-01 11:53:35

You can't use a native DataFlex 3.2 for Linux application on a Linux server as well as Windows applications through Samba without first routing both to use the Samba share.

PROBLEMS OBSERVED:
1. It is impossible to save a new record via Samba if a file is open via Linux, yet it is possible to modify a record via Samba if a file is open via Linux.

2. When reading a record and then modifying a field in the same record through DF the correct data is displayed. However, if afterward the same record is called the old data is displayed.

SOLUTION:
Lets say you have a Linux directory '/real/data' that holds the data for the DF application.

A samba share could be 'RealData', linked to this directory.

Mount a Linux drive to the Samba share on the same machine (e.g. '/realdata').

Reroute the DF application to find the data files in '/realdata' instead of '/real/data'.

Now the locking and buffering are done by Samba for both applications.

 

  Top 
  wmilhomem 
  
 Group: Members 
 Posts: 2 
 Joined: 2008-07-01 
 Profile
 Posted : 2008-07-02 01:18:21

oK...thanks TOM .....

  my application this working correctly, but the problem happens when data in a file DF is recorded using programs written in DF UNIX- .... and to immediately try to view these data using my application in Windows Delphi appears that the error message: KEY VIOLETION FIND PAST END OF FILE.

 

 

 

  Top 
  Tom 
  6c3c1_sdk-qodbc.gif
 Group: Administrator 
 Posts: 5510 
 Joined: 2006-02-17 
 Profile
 Posted : 2008-07-02 08:14:28
The DataFlex for Unix application must also use the .DAT files in the Samba share as described in the DataFlex for Linux example. 

  Top 
 New Topic 
 
 Post Reply 
[1]  

Jump to