Page Index Toggle Pages: 1 [2]  Send Topic Send Topic Print Print
Hot Topic (More than 10 Replies) I copied this directly from the Guide so... (Read 2521 times)
Bob_Hansen
Senior Member
Members
*****
Offline


WOW, They have the Internet
on computers now!

Posts: 1861
Location: Salem, NH
Joined: Nov 24th, 2002
Re: I copied this directly from the Guide so...
Reply #15 - Dec 19th, 2005 at 6:14am
Print Post Print Post  
You are correct, I missed that.   Embarrassed

Only works for LEs, not for variables or fomulas.
  



Bob Hansen
Sesame Database Manager Professional
Sensible Solutions Inc.
Salem, NH
603-898-8223
Skype ID = sensiblesolutions
Back to top
IP Logged
 
digimom1962
Junior Member
**
Offline


Natalie Gann

Posts: 92
Location: here
Joined: Nov 26th, 2004
Re: I copied this directly from the Guide so...
Reply #16 - Dec 23rd, 2005 at 7:28pm
Print Post Print Post  
Thanx guys! I really did not intend to test your mind reading skills. You are great!

I am really trying to figure it out myself for now:o
but don't let that stop anyone from pointing out fatal flaws or outright Tongue mistakes, or helpful hints or....really anything.
(I just HATE not knowing what I am doing most of the time and bugging everyone about things I should probably know by now or could find myself if I just searched for the right thing. Programming is about 10% of this job and I work about 10hrs a week here so I forget stuff from week-to-week.)
I feel better now, please just e-mail the bills for psychoanalysis Wink

MySubform: le44
MySubformLE(that cannot be blank to add): ticket_number
_________________________________
var nn as int

if @FormFieldValue("le44", "Ticket_number", 0) <> ""  //Check if subform LE is not blank
{
nn = @FormNewRecord("le44")
//FormFieldValue("le44", "ticket_number", nn, MyValue)  //Post to new subform record. nn is the subform instance created above.
}

_________________________________

(I "//" the FormFieldValue line because I already have it set up to fill all the name & address fields when the subform is entered. If this adversely affects things because I mis-understood the purpose let me know. )

I am sincerely considering changing my name to clueless in Louisville...

Oh, and
Happy Holidays !! 
2
  

So much time and so little to do . . . strike that, reverse it.
Back to top
YIM YIM  
IP Logged
 
digimom1962
Junior Member
**
Offline


Natalie Gann

Posts: 92
Location: here
Joined: Nov 26th, 2004
Re: I copied this directly from the Guide so...
Reply #17 - Jan 20th, 2006 at 9:17pm
Print Post Print Post  
Grin
Would have had it last week but for confusing name of layout element that "holds" the subform with the actually name of the subform Roll Eyes

Boss is out of town so had a little more time to ponder.

Thanx Carl, Bob & Mark!

Oh, and happy belated New Year! Cheers!


Promise, last picture for a while Wink
  

So much time and so little to do . . . strike that, reverse it.
Back to top
YIM YIM  
IP Logged
 
Hammer
YaBB Administrator
Lanticans
*****
Offline


Fire bad. Tree pretty.

Posts: 3436
Location: Ohio
Joined: Nov 22nd, 2002
Re: I copied this directly from the Guide so...
Reply #18 - Jan 20th, 2006 at 9:26pm
Print Post Print Post  
Aaaaaaaaaaaahhhhh!!!!! Shocked

Drunk rat!!!!!!!!!!!!!!!!

Running away now...
  

- Hammer
The plural of anecdote is not data.
Back to top
IP Logged
 
Infinity
Senior Member
Members
*****
Offline


Diagonally parked in a
parallel dimension

Posts: 1290
Location: Massachusetts
Joined: May 27th, 2005
Re: I copied this directly from the Guide so...
Reply #19 - Jan 20th, 2006 at 9:31pm
Print Post Print Post  
Oh man, you guys have got me terrified of subforms!  I see so many posts from people having trouble with them.  I'm pretty sure I'm going to have to use them eventually so I have to bite the bullet.

By the way, my manual lists both CreateNewRecord() and @CreateNewRecord().  Is this an error?  Should I put a big red X through CreateNewRecord()?  I'm using Sesame Plus - Version 1.1.3.
  

**
Captain Infinity
Back to top
IP Logged
 
Ray the Reaper
Global Moderator
Members
Lantica Support
*****
Offline


The One & The Only

Posts: 2482
Joined: Aug 20th, 2003
Re: I copied this directly from the Guide so...
Reply #20 - Jan 20th, 2006 at 9:36pm
Print Post Print Post  
Quote:
By the way, my manual lists both CreateNewRecord() and @CreateNewRecord().  Is this an error?  Should I put a big red X through CreateNewRecord()?  I'm using Sesame Plus - Version 1.1.3.


CreateNewRecord() was replaced by @CreateNewRecord()

-Ray
  

Raymond Yoxall Consulting
ray.yoxall@gmail.com
ryoxall@lantica.com
Sesame Applications, Design and Support
Back to top
IP Logged
 
digimom1962
Junior Member
**
Offline


Natalie Gann

Posts: 92
Location: here
Joined: Nov 26th, 2004
Re: I copied this directly from the Guide so...
Reply #21 - Jan 20th, 2006 at 9:42pm
Print Post Print Post  
Infinity,

Subforms are really quite wonderful. If I can figure it out I KNOW you'll be fine. I've seen some of the other things you have been working on and I don't even go there without several posts. Roll Eyes

My question was faulty in this case so it took a while for those poor souls to sort that out before I was able to clarify. (Lots of good stuff there I can use later though.)

Have fun. These folks are great.
  

So much time and so little to do . . . strike that, reverse it.
Back to top
YIM YIM  
IP Logged
 
Carl Underwood
Senior Member
Members
*****
Offline



Posts: 1351
Location: New Hampshire
Joined: Mar 11th, 2003
Re: I copied this directly from the Guide so...
Reply #22 - Jan 21st, 2006 at 12:53am
Print Post Print Post  
Capt'n,

Don't be afraid of subforms. They are one of the best features that Sesame has. Almost every one of my apps use table-view subforms.

There were a few hiccups with them in previous versions, but 1.1.3 has take care of them.
  


Carl Underwood
CDU Computer Consulting LLC
Epsom, New Hampshire
Back to top
IP Logged
 
Page Index Toggle Pages: 1 [2] 
Send Topic Send Topic Print Print