Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do I transfer my textbox data to a report.
Message
From
25/03/2000 22:46:15
 
 
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00350460
Message ID:
00350475
Views:
24
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform