Subject |
Re: Mervyn's Create_subForm |
From |
trevor <bob@bob.com> |
Date |
Sun, 06 Apr 2025 08:14:35 -0400 |
Newsgroups |
dbase.getting-started |
Mervyn Bick wrote:
> On 2025/04/06 13:06, trevor wrote:
> > Mervyn Bick wrote:
> ...
> > Thanks for taking a look.
> >
> > Trevor
> >
> > [although xananews shows -4.00 I'm actually GMT (can't find
> > setting)]
>
> If you post the .sfm form I'll take a look.
>
> Mervyn.
Thanks.
.sfm doesn't appear in dbase so have opened it in notepad from explorer.
class sub_deleForm( oParent, cTitle ) of SUBFORM( oParent, cTitle )
with (this)
height = 16.0
left = 71.0
top = 0.0
width = 40.0
text = ""
endwith
this.TEMPTRANSFERS1 = new QUERY()
this.TEMPTRANSFERS1.parent = this
with (this.TEMPTRANSFERS1)
left = 18.0
top = 2.0
sql = 'select * from "temptransfers.DBF"'
active = true
endwith
this.GRID1 = new GRID(this)
with (this.GRID1)
dataLink = form.temptransfers1.rowset
height = 4.0
left = 5.0
top = 4.0
width = 12.0
endwith
this.rowset = this.temptransfers1.rowset
endclass
I'm just using simple forms to get a grip to apply them to more complex
forms. The altered .wfm form but keeping the file extension
** END HEADER -- do not remove this line
//
// Generated on 03-04-2025
//
/*parameter bModal
local f
f = new sub_deleForm()
if (bModal)
f.mdi = false // ensure not MDI
f.readModal()
else
f.open()
endif */
class sub_deleForm( oParent, cTitle ) of SUBFORM( oParent, cTitle )
*class sub_deleForm of FORM
with (this)
height = 16.0
left = 71.0
top = 0.0
width = 40.0
text = ""
endwith
etc.
Thanks for the help & assistance once again.
|
|