Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
MS Access
Message
 
 
À
29/12/2005 18:04:20
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
01081897
Message ID:
01082932
Vues:
8
Make a query to contain your SQL.
Set the report RecordSource to that query.

In code:
  Build your sql string.
  Change the query's' SQL property to that.
Example:
  stSql = stSql & strWhereClause & ";"
  CurrentDb().QueryDefs("myQuery").Sql = stSql

Voila. You report will use what you built in "stSql" from now on.
This seems like a good way to do this (I am a newcomer to Access.)
- Andy Rice
San Diego, CA
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform