Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Database connections in executable
Message
De
04/06/2002 14:47:06
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Database connections in executable
Divers
Thread ID:
00664670
Message ID:
00664670
Vues:
57
I've written a program that utilizes a view of an OBDC source to store data. But when I built an executable out of the file, it prompts me for a .dbf file. I tried replacing the statement in-program with the SQL displayed when I looked at the SQL of the View, but that doesn't work.
Here is the program line that works in foxpro with the ARRESTSVIEW view:

SELECT ALLTRIM(TICK_NUM) AS TICKUPD FROM ARRESTSVIEW INTO Cursor existingrecs_cursor TICK_NUM = alltrim(ARREST_SRC.TICK_NUM)

Here is the SQL statement that defines Arrestsview connection:
SELECT *;
FROM SFHL_DATA.ARRESTS Arrests

How can I write this to work form an executable, so that it knows and recognizes the ODBC connection?
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform