Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Gathering a set of records
Message
De
02/06/1999 08:54:21
Randy Hooper
Ranco Business Software
Tampa, Floride, États-Unis
 
 
À
31/05/1999 21:35:18
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00224673
Message ID:
00225299
Vues:
17
>>Craig
>>Why do I get ambiguous date/datetime constant error message and for this rountine I do not want to use the time and etc.
>

>It has to do with your STRICT DATE setting. You can rewrite this as:
>
>SELECT Field1, Field2, Field3 ;
> FROM MyTable ;
> WHERE BETWEEN(DateField, {^1998/05/05, 00:00}, {^1998/05/12, 23:59:59}) ;
> INTO CURSOR MyCursor

Craig
I made a form to pull a report by dates look like this:

SELECT Field1, Field2, Field3;
FORM MyTable;
WHERE BETWEEN(Datefield, CTOD(THISFORM.text1.VALUE),CTOD(THISFORM.text1.VALUE);
INTO CURSOR MYCURSOR

Noe I have a set of record(s)

This is working fine. Is this how I should do this.
Thanks for all your help.
Foxpro is a sweet puppy

'cept it barks every now and then =)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform