Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Does anyone knows about a GRID that allows arrays input
Message
 
To
04/01/1999 10:34:09
General information
Forum:
Visual FoxPro
Category:
Third party products
Miscellaneous
Thread ID:
00172415
Message ID:
00172426
Views:
25
>>Like TrueDBGrid Pro that allows a VB program to present the user a grid that is bounded to a memory array.
>>
>>I want to have a grid on the form that is not bounded to any table or view or whatever... Just an array.
>
>Eric, there is no difference from developer's standpoint what are you using, array or cursor, as a grid.recordsource. You can momentarily convert array to cursor using INSERT FROM ARRAY, or convert it back using COPY TO ARRAY.

Yes, I understand.

It just seems a bit over-complicated. As you can imagine with these kind of stupid questions, I am pretty new in serious VFP development. If you have some little time, let me explain what I am (desesperately) trying to do:

I want to do a form, let's say an invoice form, with header and details. But I don't want the user to have to insert lines by pressing a button. I want him to fill the header and detail lines; then he press save (once) and 1) the system creates a header record with a new invoice number and 2) saves each line of details with the same number.

I understand that I can do this by filling a temporary table with blank lines and save it after but it seems a bit complex for a very simple task. I tried another development product, that has its limitations, but that was providing a grid on a memory array. Doing what I want here was quiet simple. Even the new VB6 seems to have this function.

Do I missed something (again) ?
Eric Crespin
Consultant
PC PLUS Software Inc.
www.pcplus.ca
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform