Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to update table from records in grid?
Message
 
To
13/08/1998 09:31:48
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00126079
Message ID:
00126497
Views:
26
>I must be doing something wrong....... Here's my code:
>
>CREATE SQL VIEW grid;
> AS SELECT glacnt, gltdes, glamnt, credit, noshow;
> FROM gldent;
> WHERE gldent.batchno = glhent.batchno;
> AND gldent.glseqno = glhent.glseqno;
> ORDER BY gldent.batchno, gldent.glseqno
>
>When the above code is executed, I receive the message - No database is open or set as the current database.

You need a DBC to store the view info in, that's the way all views work. You can either do OPEN DATA mydbc, SET DATA to mydbc with an already existing one, or you can create a temp DB on the fly...
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.
Previous
Reply
Map
View

Click here to load this message in the networking platform