Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Menu Problems

0 views
Skip to first unread message

Ulli Dittmer

unread,
Apr 17, 1999, 3:00:00 AM4/17/99
to
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

Geoff S. Wass ( dBVIPS )

unread,
Apr 18, 1999, 3:00:00 AM4/18/99
to
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 <*<*

0 new messages