🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.vdbase.forms
2 messages
2 total messages Started by Ulli Dittmer Sat, 17 Apr 1999 00:00
Menu Problems
#78
Author: Ulli Dittmer
Date: Sat, 17 Apr 1999 00:00
27 lines
1415 bytes
Hello,

I still have a lot of of problems in writing a code with correct
references for a menu file, so that I can call different reports,
subforms or rowsets.
So I first want to ask if there is something like a HOWTO-document
dealing with menus?

Secondly I have a special difficulty in changing the rowset from the
menu of my form.
The form is connected to a single .dbf-file through a datamodule. I just
want to change that file to another with an identic structure.
The code in the call-option of my menu is as follows:

// change rowset from file1 to file2
function CHANGEFILE_ONCLICK
      form.datamodref1.ref.query1.sql := 'select * from "file2.dbf"'
      form.datamodref1.ref.query1.requery()
return

All I produce with that is an empty rowset. Setting the query.active to
false first and to true again after changing the sql-property did the
same.

So please what is wrong?

Ulli
Re: Menu Problems
#79
Author: Geoff S. Wass ( dBVIPS )
Date: Sun, 18 Apr 1999 00:00
13 lines
910 bytes
Ulli,

I would suggest you repost your questions to the NEW news groups. These
ones are dead. You can link the NEW news server below my signature.

--
Geoff Wass ( dBVIPS )
Kuala Lumpur, Malaysia

=>=> More dBASE info at http://members.theglobe.com/Geoff_Wass <=<=

*>*> Visit the NEW! dBASE Inc. news groups on the news server
news://news.dbase2000.com <*<*
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads