Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQL, DateTime, grid, and I want a textbox without the ti
Message
De
12/02/2002 03:26:50
 
 
À
11/02/2002 12:00:35
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Divers
Thread ID:
00618414
Message ID:
00618706
Vues:
14
Sorry, but this site recognizes <> as HTML-tags...

Following solution will work if you want only see dates, not change them.

1.Set RecordSource property of the grid to alias of cursor, selected from SQL Server;
2.Set RecordSourceType of the grid to "1-Alias";
3.Set ControlSource of the COLUMN (not of TextBox) to "ttod(Your_DateTime_Column_Name)" (without quotes).

Plamen Ivanov
MCSD .NET Early Achiever and MCAD .NET Charter Member (VB .NET/SQL Server 2000)
MCSD (VB 6.0/SQL Server 2000)

VB (.NET) - what other language do you need in the whole Universe?...

Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform