Page Index Toggle Pages: 1 [2]  Send Topic Send Topic Print Print
Very Hot Topic (More than 25 Replies) hierarchichal imports (Read 3247 times)
Ray the Reaper
Global Moderator
Members
Lantica Support
*****
Offline


The One & The Only

Posts: 2482
Joined: Aug 20th, 2003
Re: hierarchichal imports
Reply #15 - Jun 8th, 2005 at 3:54pm
Print Post Print Post  
If you can, send them with more than one record, preferably around a dozen parent records and all the child records.  You may also want to try zipping them up using winzip.

-Ray
  

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


Canadian Government =
Elected Dictatorship

Posts: 88
Location: Peoples Republic of Kanada
Joined: Apr 20th, 2005
Re: hierarchichal imports
Reply #16 - Jun 8th, 2005 at 4:00pm
Print Post Print Post  
Ok, I sent you the files, with data for just my family name.
If you need to make stuff up for more records, go for it.
  
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: hierarchichal imports
Reply #17 - Jun 10th, 2005 at 3:57pm
Print Post Print Post  
Bob,

Did you get my e-mail last night? You may want to check your spam folder if you did not. If you need me to resend it I can.

-Ray
  

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


Canadian Government =
Elected Dictatorship

Posts: 88
Location: Peoples Republic of Kanada
Joined: Apr 20th, 2005
Re: hierarchichal imports
Reply #18 - Jun 10th, 2005 at 9:01pm
Print Post Print Post  
No, I didn't get it, did you send it to my work email?

That's the one that is in my profile. If that's the case, I won't have it yet, I've been out of the office for a bit.

  
Back to top
IP Logged
 
Boneyard_Scrounger
Junior Member
**
Offline


Canadian Government =
Elected Dictatorship

Posts: 88
Location: Peoples Republic of Kanada
Joined: Apr 20th, 2005
Re: hierarchichal imports
Reply #19 - Jun 14th, 2005 at 11:11am
Print Post Print Post  
Ray,
Lotowner is the parent form
Register is the subform
I hope to add four more subforms, all translations from QA4.
The LE that should connect them is called 'CODE'
The field name should also be 'code', but, please note that in 'lotowner', this Field was originally named 'record#', my attempt to change it to 'code' may not have stuck. (I changed it to avoid future confusion).
  
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: hierarchichal imports
Reply #20 - Jun 14th, 2005 at 1:48pm
Print Post Print Post  
Bob,

I believe I see what your problem is. On your parent form Code is Text and on your subform Code is also text.

In your parent datbase you have the code values of
3926.000000
3977.000000
4023.000000

In your child database you have code values of
1294
3977
4023

Since the code fields are text 3977.000000 is not the same as 3977. If you mass update your parent form to remove the decimal place and the zeros, then the linking will work. Let me know if you need me to send back the copy I have working here.

-Ray
  

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


Canadian Government =
Elected Dictatorship

Posts: 88
Location: Peoples Republic of Kanada
Joined: Apr 20th, 2005
Re: hierarchichal imports
Reply #21 - Jun 14th, 2005 at 4:32pm
Print Post Print Post  
I need to use mass update to do that?
I can't just set the decimal format?

How would I use mass update to do that?
  
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: hierarchichal imports
Reply #22 - Jun 14th, 2005 at 4:44pm
Print Post Print Post  
Yes you will need to use a Mass Update unless someone wants to do it by hand.

You can't set the decimal format as both of the elements are bound to text fields not number fields. It looks as if the element on the parent form was once bound to a number field hence the multiple zeroes.

A mass update that can do this is
Code
Select All
Var vCode as Int

vCode = @ToNumber(Code)
Code = @Str(vCode) 



The reason to use an Int variable is because they can not store decimal places, which eliminates the zeros.

-Ray
  

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


Canadian Government =
Elected Dictatorship

Posts: 88
Location: Peoples Republic of Kanada
Joined: Apr 20th, 2005
Re: hierarchichal imports
Reply #23 - Jun 14th, 2005 at 4:58pm
Print Post Print Post  
Obviously, you speak Sesame.
Thanks, I'll have a go tonight.
  
Back to top
IP Logged
 
Boneyard_Scrounger
Junior Member
**
Offline


Canadian Government =
Elected Dictatorship

Posts: 88
Location: Peoples Republic of Kanada
Joined: Apr 20th, 2005
Re: hierarchichal imports
Reply #24 - Jun 14th, 2005 at 9:34pm
Print Post Print Post  
Things are going very well, I have brought in two subforms so far, no need for the import/export routine I was doing before. Real easy, takes maybe five minutes.
Thanks very much Ray

One thing though, the pallate colour doesn't reconcile from designer to sesame. It shows in the preview, but won't come across.
  
Back to top
IP Logged
 
Boneyard_Scrounger
Junior Member
**
Offline


Canadian Government =
Elected Dictatorship

Posts: 88
Location: Peoples Republic of Kanada
Joined: Apr 20th, 2005
Re: hierarchichal imports
Reply #25 - Jun 17th, 2005 at 11:38am
Print Post Print Post  
Solved the Palate colour issue. Instead of changing the palate of the subform, change the palate of the form the subform represents. That will automatically change the subform's palate.
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1 [2] 
Send Topic Send Topic Print Print