Page Index Toggle Pages: [1] 2  Send Topic Send Topic Print Print
Very Hot Topic (More than 25 Replies) hierarchichal imports (Read 3242 times)
Boneyard_Scrounger
Junior Member
**
Offline


Canadian Government =
Elected Dictatorship

Posts: 88
Location: Peoples Republic of Kanada
Joined: Apr 20th, 2005
hierarchichal imports
May 26th, 2005 at 11:56am
Print Post Print Post  

would someone step me through this again?
When I tried it, my data came through scrambled.
I selected all elements, and exported to the default file type.
Then, went to the empty app, and selected all elements, and imported.
It seems that everything came across, but the entries are in the wrong LEs. The date is in the name LE etc.
  
Back to top
IP Logged
 
Hammer
YaBB Administrator
Lanticans
*****
Offline


Fire bad. Tree pretty.

Posts: 3436
Location: Ohio
Joined: Nov 22nd, 2002
Re: hierarchichal imports
Reply #1 - May 26th, 2005 at 12:09pm
Print Post Print Post  
Did you remember to turn off the Ignore column when you did the Import?
  

- Hammer
The plural of anecdote is not data.
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 #2 - May 30th, 2005 at 12:14pm
Print Post Print Post  
Nope, forgot that, tried again, but it's reporting errors in the log, and nothing came through.
I have yet to read the log.
  
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 #3 - May 30th, 2005 at 12:27pm
Print Post Print Post  
Ok, I went back, and did another export, and when I imported this time there were no errors. But, nothing seems to be linked up.

I'm still doing something wrong. I did a search from the parent form, and got no child entries. I'm currently doing a search in the child, but it seems to be taking a long time.
  
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 #4 - May 30th, 2005 at 12:39pm
Print Post Print Post  
The above locked up. Had to reboot,  restart the server using emergecy shutdown (too many clients), and unlock the app.
The Server log contains the entry "cannot set a field" ???
  
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 #5 - May 30th, 2005 at 2:38pm
Print Post Print Post  
How many Parent records were exported?
How many Parent records were imported?
Do all the fields look correct? Pay attention to the ones before and after the subform.

to start debugging lets try a simple case.

Retrieve one parent record that has a few children records.
Export it using the Set All option.
Name it something that you will remember. Leave all settings as defaults.
Open the database you are importing the record into.
Set up the import spec by clicking Set All and then turning off the ignore column.
Click Run.
Choose the export file you just made.

Does the parent record import? Do the child records import?

-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 #6 - Jun 1st, 2005 at 3:18pm
Print Post Print Post  
I guess I should have been more specific.
I am merging two apps, and then trying to make one the child of the other. These apps were imported from QA4, and are full of data, hence the export import routine.
  
Back to top
IP Logged
 
pineberry
Full Member
***
Offline


No personal text

Posts: 115
Location: Strawberry, AZ  USA
Joined: Nov 30th, 2002
Re: hierarchichal imports
Reply #7 - Jun 2nd, 2005 at 5:03pm
Print Post Print Post  

  
Back to top
 
IP Logged
 
pineberry
Full Member
***
Offline


No personal text

Posts: 115
Location: Strawberry, AZ  USA
Joined: Nov 30th, 2002
Re: hierarchichal imports
Reply #8 - Jun 2nd, 2005 at 5:07pm
Print Post Print Post  
Hi Boneyard

Have you succeeded in your import attempts? I Plan to do the same type of import but haven't tried it yet. Any tips would be appreciated.

Harley
  
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 #9 - Jun 6th, 2005 at 11:47am
Print Post Print Post  
Still driving me nuts, I just am not getting much computer time right now.

Ok, I have two QA4 translations.
I want to make one, a child of the other.
I have had a student, enter a 'code' field, so I can use relational linking for the two Apps.
I go into the child app, and export all data to file.
I create a copy of the child app, and then delete all data.
Going into the parent app, I created a subform. and direct it to use relational linking to the now blank child app.
I try to import into the subform,

That's as far as I've got so far, I either get no data, or very scrambled data (data in wrong LE's)

  
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 #10 - Jun 7th, 2005 at 11:54am
Print Post Print Post  
anyone?
  
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 #11 - Jun 7th, 2005 at 5:48pm
Print Post Print Post  
Bob,

Quote:
I go into the child app, and export all data to file.
I create a copy of the child app, and then delete all data.
I try to import into the subform,


These above steps are unnecessary as far as I am understanding what you are doing.

When you had the student enter in the codes, are they on both the form you plan to use as a parent and the form you plan to use as a child? If they are only on one of the two forms do not follow the below steps.

Open your DB, that has both databases in it, in designer.
Redesign the Parent Form
Add a Subform element to the form
Select the form you want to display as the subform
Choose Relational linking
In Step 4 choose the correct field for both the parent and the child. Note these are the field names from the underlying database. Do not confuse these with the element names. They may be the same, they may not, double check.
Click Okay
Save
Preview
Open Search Update
Hit F10
The first parent record will display
***Does it show any child records?
If it does not show any child records, copy the value that is in the Code element and open the child form standalone in Search Update.
Paste the value that you copied from the parent form into the code element on the child form.
Hit F10
***Are any records retrieved?

-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 #12 - Jun 8th, 2005 at 12:57pm
Print Post Print Post  
***
No it does not show any child records

Paste the code into the child and hit F10.

Search continued for five minutes... Finally I closed with Windows, as it apeared to be locked.

I have now gone back in, and through preview mode, confirmed that the record does exist. Just not visible in the subform.  ???
  
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 #13 - Jun 8th, 2005 at 1:10pm
Print Post Print Post  
Bob,

Send me your DB and DAT files. I will have a look at them and see if anything is wrong.

-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 #14 - Jun 8th, 2005 at 3:36pm
Print Post Print Post  
Mail server won't let me send the files, too large, even individually,
I will save a copy with only one entry of data, and see if that goes.
  
Back to top
IP Logged
 
Page Index Toggle Pages: [1] 2 
Send Topic Send Topic Print Print