Normal Topic Duplicate LE names in different forms? (Read 809 times)
Infinity
Senior Member
Members
*****
Offline


Diagonally parked in a
parallel dimension

Posts: 1290
Location: Massachusetts
Joined: May 27th, 2005
Duplicate LE names in different forms?
Sep 19th, 2006 at 7:25pm
Print Post Print Post  
My Workorder form contains a section that makes a "mock" invoice.  My Invoice form is very similar and will, depending on conditions, lookup the workorder to obtain its values.

I seem to remember reading somewhere that different forms within an application could not have identical names.  Is that right, or did I dream it?  Or is it bindings that cannot be duplicated?  Or am I way off base, and it's totally OK to name and bind LE's the same in different forms?
  

**
Captain Infinity
Back to top
IP Logged
 
Hammer
YaBB Administrator
Lanticans
*****
Offline


Fire bad. Tree pretty.

Posts: 3436
Location: Ohio
Joined: Nov 22nd, 2002
Re: Duplicate LE names in different forms?
Reply #1 - Sep 19th, 2006 at 7:39pm
Print Post Print Post  
There cannot be two Forms named the same thing in a single application. You can, however, have LEs named the same as long as they are on different forms. For example, every Form in your application can have a "DocNumber" LE.
  

- 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: Duplicate LE names in different forms?
Reply #2 - Sep 19th, 2006 at 7:46pm
Print Post Print Post  
Thank you.  Guide me with this, though...in my main application (which now contains 5 Q&A databases, i.e. forms) I have the form Workorder.  One LE on it is named InvTotal and is bound to !InvTotal.

Outside of the application, I am working on my Invoice database (with one form, Invoice).  Once I'm happy with it I plan to merge it into my main application.  It, too, has an LE named InvTotal which is bound to !InvTotal.

Am I headed for trouble?  Will these two bump heads when I merge?
  

**
Captain Infinity
Back to top
IP Logged
 
The Cow
YaBB Administrator
*****
Offline



Posts: 2530
Joined: Nov 22nd, 2002
Re: Duplicate LE names in different forms?
Reply #3 - Sep 19th, 2006 at 9:01pm
Print Post Print Post  
As long as they are in separate databases, they should be fine - even if the two databases are placed in the same application.
  

Mark Lasersohn&&Programmer&&Lantica Software, LLC
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: Duplicate LE names in different forms?
Reply #4 - Sep 19th, 2006 at 11:11pm
Print Post Print Post  
Super!  Thank you.
  

**
Captain Infinity
Back to top
IP Logged