Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do I transfer my textbox data to a report.
Message
De
25/03/2000 22:46:15
 
 
À
25/03/2000 22:33:42
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00350460
Message ID:
00350475
Vues:
25
>I did some testing in the command window, but after i do my report it says record out of range? here is what i did
>create cursor cash;
> (buys y(5),newloans y(5))
>INSERT INTO cash (buys, newloans);
> value (500.00, 500.00)
>

Your INSERT statement was the problem here; either include the FIELDS clause, so that it reads

INSERT INTO cash FIELDS (buys, newloans) VALUE (500, 500)

or if your intent is to insert values into all fields, presenting the values in the same order as their appearance in the cursor's field list, omit the list of fields entirely in the INSERT:

INSERT INTO cash VALUE (500, 500)

>select cash
>
>do c:\report1.frx
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform