Subject Re: Big Mistake
From Andy Taylor <andy.taylor.1959@outlook.com>
Date Thu, 15 Sep 2022 23:27:39 +0100
Newsgroups dbase.getting-started
Attachment(s) Dmd_As_Form.jpg

Here's a picture of what it looks like.
Andy

> Ok Bob,
>
> I don't think you'll have to reinstall.
> By playing around from the clues you've given I have managed to
> duplicate what you did.
>
> Ready? When designing a new form you selected a custom form to apply to
> the new form. Instead of choosing a custom form (cfm) you overode the
> normal preselection of *.cfm files and instead chose a *.dmd file.
>
> My system is now as topsy turvy as yours, so well done on doing
> something that no-one else had thought to try :-)
>
> The bad news is that I'm off to bed and will work on getting things back
> to normal tomorrow... I'll let you know if I have to re-install and
> don't worry it won't affect your licence as long as you re-install on
> the same machine.
>
> Talk tomorrow,
> Andy
>
>
>> Hi Andy:    Pressing the form btn or cmd Window "Creat Form" does nor
>> open in the Source Editor,
>> rather it opens a form shaped display with the contents of my
>> "Customer Datamodules'"  top panel.
>> (Seven table SQL icons plus the "SawBiz" database Icon)..  The name of
>> this form shaped display is
>> "Ubtitled datamodule designer".   Doesn't look like a datamodule
>> desigher.    Also, unlike the datamodule
>> designer where you can eliminate tables,  trying to "cut" these icons
>> draws and alert msg " Cannot delete
>> contols from base class" .  I can open this "form" in the Source
>> editor, but it seems unable to change anything.
>>
>> I' m not quite sure what this MS team  is all about.  Is it a
>> conference thru email? Sounds very
>> interesting. but I know nothing about such things or how to
>> particapate.  As for the re-install I know what
>> that is but how would that effect my license?  Many thanks for your
>> suggestion.... Bob
>>
>>> Andy Taylor Wrote:
>>
>>> Hi Bob,
>>>
>>> If you have really typed into the command window "create form" then
>>> pressed enter and the response has been the source editor popping up
>>> which contains streamed out datamodule code then something is
>>> _seriously_ wrong with your installation of dBASE.
>>>
>>> I have never seen this reported on the newsgroups before and have never
>>> seen this myself.  I am curious to know if this was something you did
>>> using dBASE or is corruption caused by something else that has happened
>>> on your machine.  I have invited you by e-mail to join me on a MS Teams
>>> call so that I can verify what is happening, but you have not responded
>>> yet.  If you don't want to do that then all I can suggest is that you
>>> uninstall dBASE and then reinstall again and cross your fingers that
>>> things return to normal...
>>>
>>> Regards,
>>> Andy
>>>
>>>> Hi all:  Is it posible that this mistake will require a re-install
>>>> of db2019?  All of my learning efforts are down the drain if i
>>>> cannot open a standard form.  I await a winning rely, thanks guys...
>>>> Bob
>>>>
>>>>> Bob McKinney Wrote:
>>>>
>>>>> Hi Andy:  Pressing the new form btn in the Inspector  or typing
>>>>> "Crate Form" ind the cmd window have the same result, the bad form
>>>>> described in my initial msg........Bob
>>>>>
>>>>>> Andy Taylor Wrote:
>>>>>
>>>>>> Hi Bob,
>>>>>> Just to confirm how big the problem is, can you tell us what
>>>>>> happens if
>>>>>> you type:
>>>>>>       Create Form
>>>>>> in the command window?
>>>>>>
>>>>>> The command window is the last option from the main VIEW menu.
>>>>>> This is from the OLH for Command Window:
>>>>>> Learning tool
>>>>>> As you work in the visual design environment, the corresponding dBL
>>>>>> commands are automatically displayed in the upper pane of the
>>>>>> window. So
>>>>>> the Command window is a good tool for learning basic commands in
>>>>>> the dBL
>>>>>> language.
>>>>>> You can get help on a dBL language element or feature by typing a
>>>>>> word
>>>>>> or phrase in the Command window, highlighting it, and pressing F1.
>>>>>>
>>>>>> So, with both the Command window and the Navigator window open
>>>>>> side by
>>>>>> side so that you can see both at the same time (you might have to
>>>>>> resize
>>>>>> them to get them both visible), can you also tell us what appears
>>>>>> in the
>>>>>> command window when you click on "New Form" in the Navigator window?
>>>>>>
>>>>>> Regards,
>>>>>> Andy
>>>>>>
>>>>>>> Hi Ken:  I know, that's what the code says, but I had clicked
>>>>>>> on"NewForm".  I just tried it again befoe writing this reply.
>>>>>>> The Custom new form brings up a Blank form same as "New Form"
>>>>>>> used to , but I don't want a "custom " form.  ............ Bob
>>>>>>>
>>>>>>>> Ken Mayer Wrote:
>>>>>>>> On 9/13/2022 8:57 AM, Bob McKinney wrote:
>>>>>>>>> Hi All:   I clicked on " New Form" in the Navigator and this is
>>>>>>>>> what came up.    I must have done something,I don't know when
>>>>>>>>> or how.  I cannot now start to create a new form.     Using win
>>>>>>>>> /11 with db2019'.   Can someone tell me how to untangle my
>>>>>>>>> Horrible mistake so I can create a new form?
>>>>>>>>>
>>>>>>>>> //
>>>>>>>>> // Generated on 09/13/2022
>>>>>>>>> //
>>>>>>>>> class UntitledDataModule of CustomerDATAMODULE from
>>>>>>>>> :SB_Datamodulesb:Customer.dmd
>>>>>>>>>        with (this)
>>>>>>>>>           width = 0.0
>>>>>>>>>           height = 0.0
>>>>>>>>>        endwith
>>>>>>>>>
>>>>>>>>>        with (this.SAWBIZ1)
>>>>>>>>>           width = 41.0
>>>>>>>>>           height = 37.0
>>>>>>>>>        endwith
>>>>>>>>>
>>>>>>>>>        with (this.CUSTOMER1)
>>>>>>>>>           width = 57.0
>>>>>>>>>           height = 37.0
>>>>>>>>>        endwith
>>>>>>>>>
>>>>>>>>>        this.rowset = this.customer1.rowset
>>>>>>>>>
>>>>>>>>> endclass
>>>>>>>>>                  **************************
>>>>>>>>> Any help greatly appreciated......Bob
>>>>>>>>
>>>>>>>> Well, for starters, this is a datamodule, not a form. Maybe make
>>>>>>>> sure
>>>>>>>> you're on the right tab of the Navigator?
>>>>>>>>
>>>>>>>> Ken
>>>>>>>>
>>>>>>>> --
>>>>>>>> *Ken Mayer*
>>>>>>>> Ken's dBASE Page: http://www.goldenstag.net/dbase
>>>>>>>> The dUFLP: http://www.goldenstag.net/dbase/index.htm#duflp
>>>>>>>> dBASE Books: http://www.goldenstag.net/dbase/Books/dBASEBooks.htm
>>>>>>>> dBASE Tutorial:
>>>>>>>> http://www.goldenstag.net/dbase/Tutorial/00_Preface.htm
>>>>>>>> dBASE Web Tutorial:
>>>>>>>> http://www.goldenstag.net/dbase/WebTutorial/00_Menu.htm
>>>>>>>> dBASE DOS to Windows Tutorial:
>>>>>>>> http://www.goldenstag.net/dbase/DtoWTutorial/00_Menu.htm
>
>