Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 5945 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

2 files-- Both File Maker

Database: Main, Table: Main

Database: Export, Table: Export

If Database: Export

Table: Export

Field Name: DESCRIPTION

=

Database: Main

Table: Main

Field Name: DESC

Set Field

Database: Main

Table: Main

Field: Confirm = YES

I would think I would need to do a loop to loop thru table to look for the match.

I believe I understand the logic. I am not sure how to call the other database from within the script.

Thanks for you help

Posted

hmm checking it out now. I have related many tables within a single database, but never two different databases. This should be interestiong. Ya, if what you are saying works, then this would be quite easy. :(

Posted

Wow, now that is cool. :( Talking about opening up possiblities. Thanks for that tip. Never really had to work with two separte database before(well maybe in dbaseIII), but back then a database tables where files

[color:red]One more question--When would you use the import command within a script?

If you can relate two table then you can use set field to import.

Posted

I don't think I can answer that (other than "when I need to import records" :( ). I am not sure what you're doing, but it seems to me that once you have the relationship, you should be done. The related data is available - why duplicate it?

Posted

Sorry about the confusion. The solution you gave worked like a charm.

I was just thinking of a different situation not related to this subject. If you can setup a relationship you can do the same thing as import. Thus, why have an import? I guess easy of use would be top on the list.

Can you specify during an import some records to be imported and some not to be? Or does import have to bring all records into the table?

Just trying to learn. Thank for you time and knowledge.

chuck

Posted

I'm afraid those are very broad questions, not easily answered without going into a lot of if's and when's. In general, I try not to import data that already exists in the system.

This topic is 5945 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.